diff --git a/src/irc/core/irc-nicklist.c b/src/irc/core/irc-nicklist.c index 28ac6368..2e210382 100644 --- a/src/irc/core/irc-nicklist.c +++ b/src/irc/core/irc-nicklist.c @@ -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++;