You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// ChangeNick changes a client's nickname and updates the ByNick map.func (c*ClientSet) ChangeNick(client*Client, newnickstring) (errerror) {
if_, present:=c.ByNick[strings.ToUpper(client.Nick)]; !present {
Log.Fatalf("Client %s does not exist in Clients.ByNick. We are desynched. Exiting.", client.Nick)
}
delete(c.ByNick, client.Nick)
c.ByNick[strings.ToUpper(newnick)] =clientreturn
}
This should be a hook and not manually invoked behavior.
The text was updated successfully, but these errors were encountered:
This should be a hook and not manually invoked behavior.
The text was updated successfully, but these errors were encountered: