summaryrefslogtreecommitdiff
path: root/src/irc/notifylist
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/notifylist')
-rw-r--r--src/irc/notifylist/notifylist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/irc/notifylist/notifylist.c b/src/irc/notifylist/notifylist.c
index 0e8155fd..e91ba199 100644
--- a/src/irc/notifylist/notifylist.c
+++ b/src/irc/notifylist/notifylist.c
@@ -273,6 +273,9 @@ static void notifylist_check_join(IRC_SERVER_REC *server, const char *nick,
NOTIFY_NICK_REC *rec;
char *user, *host;
+ if (nick == NULL)
+ return;
+
notify = notifylist_find(nick, server->connrec->chatnet);
if (notify == NULL) return;