mirror of
https://github.com/anope/anope.git
synced 2026-07-05 03:53:12 +02:00
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
This commit is contained in:
parent
0b74a48e20
commit
69196c40e5
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user