capability: Add extended-join and userhost-in-names

This commit is contained in:
Daniel Oaks
2016-08-14 11:59:33 +10:00
parent ef592d160c
commit e33a810522
5 changed files with 30 additions and 9 deletions
+1 -1
View File
@@ -423,7 +423,7 @@ func userHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool {
client.username = Name("~" + msg.Params[0])
client.updateNickMask()
}
if client.realname != "" {
if client.realname == "" {
client.realname = msg.Params[3]
}