mirror of
https://github.com/anope/anope.git
synced 2026-07-07 22:23:14 +02:00
BUILD : 1.7.17 (1210) BUGS : 645 646 647 NOTES : Fixed anoperc restart, nickchanges on TS6, typo in CHAN_REGISTER_NONE_CHANNEL; added error messages when RDB functions fail (thx heinz)
git-svn-id: svn://svn.anope.org/anope/trunk@1210 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@929 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
6e7add309d
commit
4e409e31cb
+4
-1
@@ -1406,7 +1406,10 @@ int db_mysql_load_cs_dbase(void)
|
||||
/* Name, founder, successor, password */
|
||||
snprintf(ci->name, CHANMAX, "%s", mysql_row[0]);
|
||||
ci->founder = findcore(mysql_row[1]);
|
||||
ci->successor = findcore(mysql_row[2]);
|
||||
if (mysql_row[2] && *(mysql_row[2]))
|
||||
ci->successor = findcore(mysql_row[2]);
|
||||
else
|
||||
ci->successor = NULL;
|
||||
snprintf(ci->founderpass, PASSMAX, "%s", mysql_row[3]);
|
||||
|
||||
/* Description, URL, email -- scalloc() initializes to 0/NULL */
|
||||
|
||||
Reference in New Issue
Block a user