From ec9931288b719cfe9aaa9f1547108d7c097006e2 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 25 May 2013 15:26:20 -0400 Subject: Allow loading nicks with no core... just in case --- src/nickserv.c | 6 ++++++ version.log | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/nickserv.c b/src/nickserv.c index 82bc7b488..9328cd261 100644 --- a/src/nickserv.c +++ b/src/nickserv.c @@ -697,6 +697,12 @@ void load_ns_dbase(void) na->nc = findcore(s); free(s); + if (!na->nc) + { + free(na); + continue; + } + slist_add(&na->nc->aliases, na); if (!(na->status & NS_VERBOTEN)) { diff --git a/version.log b/version.log index a9daf5574..16b072da1 100644 --- a/version.log +++ b/version.log @@ -8,7 +8,7 @@ VERSION_MAJOR="1" VERSION_MINOR="8" VERSION_PATCH="9" VERSION_EXTRA="-git" -VERSION_BUILD="3113" +VERSION_BUILD="3114" # Changes since 1.8.8 Release -- cgit