forked from jshiffer/go-xmpp
Remove a declared variable that isn't used. So the library will compile again.
This commit is contained in:
parent
15989a19c3
commit
748282a14a
1
xmpp.go
1
xmpp.go
@ -249,7 +249,6 @@ func (c *Client) init(o *Options) error {
|
|||||||
if len(a) != 2 {
|
if len(a) != 2 {
|
||||||
return errors.New("xmpp: invalid username (want user@domain): " + o.User)
|
return errors.New("xmpp: invalid username (want user@domain): " + o.User)
|
||||||
}
|
}
|
||||||
user := a[0]
|
|
||||||
domain := a[1]
|
domain := a[1]
|
||||||
|
|
||||||
// Declare intent to be a jabber client.
|
// Declare intent to be a jabber client.
|
||||||
|
Loading…
Reference in New Issue
Block a user