diff options
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/mysql.c | 2 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 7 insertions, 2 deletions
@@ -6,6 +6,7 @@ Anope Version S V N 01/02 F ChanServ LIST now searches for '#chan' if only 'chan' is given. [#622] 01/06 F Missing backtick in SQL query for saving news items. [ #00] 01/06 F Some OperServ commands not respecting OSOpersOnly when disabled. [#657] +01/06 F MySQL code not always reporting Services Root flags correctly. [#659] Anope Version 1.7.18 -------------------- diff --git a/src/mysql.c b/src/mysql.c index 96899be44..64a9988de 100644 --- a/src/mysql.c +++ b/src/mysql.c @@ -1853,7 +1853,7 @@ int db_mysql_load_ns_dbase(void) /* Make sure the SERVICES_ROOT flag is only set for services roots */ na->nc->flags &= ~NI_SERVICES_ROOT; for (i = 0; i < RootNumber; i++) { - if (stricmp(ServicesRoots[i], na->nick)) + if (stricmp(ServicesRoots[i], na->nick) == 0) na->nc->flags |= NI_SERVICES_ROOT; } diff --git a/version.log b/version.log index ed4d0a326..15bbb17e7 100644 --- a/version.log +++ b/version.log @@ -9,10 +9,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="18" VERSION_EXTRA="-svn" -VERSION_BUILD="1220" +VERSION_BUILD="1221" # $Log$ # +# BUILD : 1.7.18 (1221) +# BUGS : 659 +# NOTES : Fixed a mistake in the MySQL code with identifying services roots +# # BUILD : 1.7.18 (1220) # BUGS : 657 # NOTES : Fixed various OperServ commands which did not respect a disabled OSOpersOnly |