diff options
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | mysql.c | 6 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 11 insertions, 2 deletions
@@ -1,6 +1,7 @@ Anope Version 1.7.x (will be renamed when next release is produced) ------------------- Provided by Anope Dev. <dev@anope.org> +2004/06/05 Fixed bug with RDB and empty nickserv greet message (# 28). 2004/05/04 Fixed Badwords kicker to ignore control characters and color codes. 2004/05/04 anoperc bugfixes including checking if anope binary exists. 2004/05/03 always set the right module name when executing mod_tail commands @@ -1474,7 +1474,11 @@ void db_mysql_load_ns_dbase(void) nc->memos.memomax = atoi(mysql_row[9]); nc->channelcount = atoi(mysql_row[10]); nc->channelmax = atoi(mysql_row[11]); - nc->greet = sstrdup(mysql_row[12]); + + if (mysql_row[12][0] == '\0') /* check if it's empty */ + nc->greet = NULL; + else + nc->greet = sstrdup(mysql_row[12]); if (!NSAllowKillImmed) nc->flags &= ~NI_KILL_IMMED; diff --git a/version.log b/version.log index b1eb0a110..6f79743d2 100644 --- a/version.log +++ b/version.log @@ -8,11 +8,15 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="2" -VERSION_BUILD="86" +VERSION_BUILD="87" VERSION_EXTRA="" # $Log$ # +# BUILD : 1.7.2 (87) +# BUGS : 28 +# NOTES : Fixed bug with RDB and empty nickserv greet message. +# # BUILD : 1.7.2 (86) # BUGS : # NOTES : Changed the allocation of buffer for normalizeBuffer yet again |