1
0
Fork 0
forked from External/ergo

NICK: Fix small bug when casefolding

This commit is contained in:
Daniel Oaks 2016-10-16 20:35:50 +10:00
parent 83cb76331f
commit 1e956355bf
2 changed files with 16 additions and 5 deletions

View file

@ -452,7 +452,7 @@ func userHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool {
if !client.HasUsername() {
client.username = "~" + msg.Params[0]
client.updateNickMask()
// don't bother updating nickmask here, it's not valid anyway
}
if client.realname == "" {
client.realname = msg.Params[3]