mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
Merge pull request #1104 from ailin-nemui/setname-fix
fix crash in setname
This commit is contained in:
commit
4d01170aa1
1 changed files with 1 additions and 0 deletions
|
|
@ -454,6 +454,7 @@ static void event_setname(SERVER_REC *server, const char *data, const char *nick
|
|||
if (!IS_IRC_SERVER(server))
|
||||
return;
|
||||
|
||||
g_return_if_fail(nick != NULL);
|
||||
g_return_if_fail(data != NULL);
|
||||
if (*data == ':') data++;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue