diff options
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | mysql.c | 6 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 10 insertions, 3 deletions
@@ -1,6 +1,7 @@ Anope Version 1.7.0 -------------------- Provided by Anope Dev. <dev@anope.org> +2004/04/09 Fixed segfault due to coreless nicks in MySQL db (Bug #8) 2004/04/08 Added NickRegDelay. Nicks have to be connected longer than X seconds before a /ns register. 2004/04/08 Added "is a services root administrator" to /ns info. 2004/04/08 Added option for SOs and above to hide their services access status in /ns info. @@ -1570,7 +1570,8 @@ void db_mysql_load_ns_dbase(void) na->nc = findcore(tmpstr); free(tmpstr); - slist_add(&na->nc->aliases, na); + if (na->nc) + slist_add(&na->nc->aliases, na); if (!(na->status & NS_VERBOTEN)) { if (!na->last_usermask) @@ -1579,7 +1580,8 @@ void db_mysql_load_ns_dbase(void) na->last_realname = sstrdup(""); } - na->nc->flags &= ~NI_SERVICES_ROOT; + if (na->nc) + na->nc->flags &= ~NI_SERVICES_ROOT; alpha_insert_alias(na); } mysql_free_result(mysql_res); diff --git a/version.log b/version.log index 09ddf16a0..b03498e8e 100644 --- a/version.log +++ b/version.log @@ -8,11 +8,15 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="0" -VERSION_BUILD="37" +VERSION_BUILD="38" VERSION_EXTRA="" # $Log$ # +# BUILD : 1.7.0 (38) +# BUGS : 008 +# NOTES : Fixed segfault due to coreless nicks in MySQL db on behalf of Keeper +# # BUILD : 1.7.0 (37) # BUGS : # NOTES : Added NickRegDelay which prevents users from regging their nick if they are not connected for at least X seconds. |