summaryrefslogtreecommitdiff
path: root/mysql.c
diff options
context:
space:
mode:
authordane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-04-16 18:23:11 +0000
committerdane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-04-16 18:23:11 +0000
commitc8f9be6cb6bf0b5ac2e68651841be6c02b554100 (patch)
treed00833541a833add0e8022e9fe343fb47920e13a /mysql.c
parentd74d3e1ad82e69d6c9fd322a09d65d05c217e9a3 (diff)
BUILD : 1.7.1 (55) NOTES : One last try to fix the MySQL password saves... omg.
git-svn-id: svn://svn.anope.org/anope/trunk@55 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@36 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'mysql.c')
-rw-r--r--mysql.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql.c b/mysql.c
index e04d2b75e..da3ca2052 100644
--- a/mysql.c
+++ b/mysql.c
@@ -416,7 +416,7 @@ void db_mysql_save_cs_info(ChannelInfo * ci)
/* Let's take care of the core itself */
snprintf(sqlcmd, MAX_SQL_BUF,
- "UPDATE anope_cs_info SET founder=%s,successor='%s',founderpass='%s',"
+ "UPDATE anope_cs_info SET founder=%s,successor='%s',founderpass=%s,"
"descr='%s',url='%s',email='%s',time_registered='%d',last_used='%d',"
"last_topic='%s',last_topic_setter='%s',last_topic_time='%d',flags='%d',"
"forbidby='%s',forbidreason='%s',bantype='%d',accesscount='%d',"
@@ -468,7 +468,7 @@ void db_mysql_save_cs_info(ChannelInfo * ci)
",last_topic_time,flags,forbidby,forbidreason,bantype,accesscount,akickcount"
",mlock_on,mlock_off,mlock_limit,mlock_key,mlock_flood,mlock_redirect,"
"entry_message,botnick,botflags,bwcount,capsmin,capspercent,floodlines,"
- "floodsecs,repeattimes,active) VALUES ('%s','%s','%s','%s','%s','%s','%s'"
+ "floodsecs,repeattimes,active) VALUES ('%s','%s','%s',%s,'%s','%s','%s'"
",'%d','%d','%s','%s','%d','%d','%s','%s','%d','%d','%d','%d','%d','%d',"
"'%s','%s','%s','%s','%s','%d','%d','%d','%d','%d','%d','%d','1')",
ciname,