summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2007-01-06 20:13:36 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2007-01-06 20:13:36 +0000
commit69196c40e501d8a14d5ad1a7207b00a42fbc6a91 (patch)
tree5a599adc11c1f6f15f4f1b834166c922adba00d0
parent0b74a48e205e67fe0e2f839fd0d345e7332e95e2 (diff)
BUILD : 1.7.18 (1221) BUGS : 659 NOTES : Fixed a mistake in the MySQL code with identifying services roots
git-svn-id: svn://svn.anope.org/anope/trunk@1221 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@940 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--Changes1
-rw-r--r--src/mysql.c2
-rw-r--r--version.log6
3 files changed, 7 insertions, 2 deletions
diff --git a/Changes b/Changes
index 0a622a344..a4ba8287f 100644
--- a/Changes
+++ b/Changes
@@ -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