1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-04 02:43:14 +02:00

Fix crash on nick change.

This commit is contained in:
Bram Matthys
2019-12-12 16:58:26 +01:00
parent a46a2e050d
commit 25bc2b7923
+4
View File
@@ -401,6 +401,7 @@ CMD_FUNC(cmd_nick_local)
newusr = 1;
}
} else
if (MyUser(client))
{
MessageTag *mtags = NULL;
@@ -463,6 +464,9 @@ CMD_FUNC(cmd_nick_local)
free_message_tags(mtags);
if (removemoder)
client->umodes &= ~UMODE_REGNICK;
} else
{
/* Someone changing nicks in the pre-registered phase */
}
if (update_watch && client->name[0])