Skip to content

Commit

Permalink
Add Compatibility for Cisco Jabber (xmpp) (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
fti7 authored and 42wim committed May 11, 2017
1 parent 8c7549a commit ee643de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridge/xmpp/xmpp.go
Original file line number Diff line number Diff line change
Expand Up @@ -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], "/")
Expand Down

0 comments on commit ee643de

Please sign in to comment.