diff options
Diffstat (limited to 'hop.go')
-rw-r--r-- | hop.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -156,5 +156,9 @@ func (cc *ClientConn) Hop(serverName string) error { cc.server().SendCmd(&mt.ToSrvJoinModChan{Channel: ch}) } + if !Conf().ForceDefaultSrv { + return authIface.SetLastSrv(cc.Name(), serverName) + } + return nil } |