diff options
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/core/irc-nicklist.c | 1 | ||||
-rw-r--r-- | src/irc/dcc/dcc-chat.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/irc/core/irc-nicklist.c b/src/irc/core/irc-nicklist.c index ddf62e5b..46dde7b7 100644 --- a/src/irc/core/irc-nicklist.c +++ b/src/irc/core/irc-nicklist.c @@ -380,6 +380,7 @@ static void event_nick(IRC_SERVER_REC *server, const char *data, char *params, *nick; g_return_if_fail(data != NULL); + g_return_if_fail(orignick != NULL); params = event_get_params(data, 1, &nick); diff --git a/src/irc/dcc/dcc-chat.c b/src/irc/dcc/dcc-chat.c index 35655c9e..25658a39 100644 --- a/src/irc/dcc/dcc-chat.c +++ b/src/irc/dcc/dcc-chat.c @@ -780,6 +780,7 @@ static void event_nick(IRC_SERVER_REC *server, const char *data, char *params, *nick, *tag; g_return_if_fail(data != NULL); + g_return_if_fail(orignick != NULL); params = event_get_params(data, 1, &nick); if (g_strcasecmp(nick, orignick) == 0) { |