diff options
-rw-r--r-- | chatcommands.go | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/chatcommands.go b/chatcommands.go index ed7b6e0..91caf75 100644 --- a/chatcommands.go +++ b/chatcommands.go @@ -508,8 +508,12 @@ func init() { return "Group is also a server." } - if i == 4 && cc.ServerName() == srv { - return "Already connected to this server after 5 attempts." + if cc.ServerName() == srv { + if i == 4 { + return "Already connected to this server after 5 attempts." + } else { + continue + } } if err := cc.HopGroup(srv); err != nil { |