diff options
Diffstat (limited to 'bridge/xmpp')
-rw-r--r-- | bridge/xmpp/xmpp.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/xmpp/xmpp.go b/bridge/xmpp/xmpp.go index 4dcb8ef7..3756f5b9 100644 --- a/bridge/xmpp/xmpp.go +++ b/bridge/xmpp/xmpp.go @@ -119,7 +119,7 @@ func (b *Bxmpp) handleXmpp() error { var channel, nick string if v.Type == "groupchat" { s := strings.Split(v.Remote, "@") - if len(s) == 2 { + if len(s) >= 2 { channel = s[0] } s = strings.Split(s[1], "/") |