diff --git a/irc/client_lookup_set.go b/irc/client_lookup_set.go index 2256c4f9..c97c89ff 100644 --- a/irc/client_lookup_set.go +++ b/irc/client_lookup_set.go @@ -117,7 +117,7 @@ func (clients *ClientManager) SetNick(client *Client, session *Session, newNick } if useAccountName { - if registered && newNick != accountName && newNick != "" { + if registered && newNick != accountName { return "", errNickAccountMismatch, false } newNick = accountName