diff options
author | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-05-06 20:10:34 +0000 |
---|---|---|
committer | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-05-06 20:10:34 +0000 |
commit | f37f02692d56c8bc69900357aa0006f203eb03d8 (patch) | |
tree | 1f73a8c3c66cbbb7339dbfebdffcf614bdec1b98 | |
parent | ff8b395693fa418b07a31cc3205a372148a698ee (diff) |
BUILD : 1.7.2 (87) BUGS : 28 NOTES : Fixed bug with RDB and empty nickserv greet message.
git-svn-id: svn://svn.anope.org/anope/trunk@87 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@63 5417fbe8-f217-4b02-8779-1006273d7864
-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 |