diff options
author | dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-04-14 11:55:08 +0000 |
---|---|---|
committer | dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-04-14 11:55:08 +0000 |
commit | 15099958a5bef6c67f0d4cf4b25f9a181caa6352 (patch) | |
tree | 86f0ce1e934780ee9649262e77b3e7bc9e80e78f /mysql.c | |
parent | bba07a560e2942ec78761367ff5bab8e354c35e5 (diff) |
BUILD : 1.7.0 (42) BUGS : 11 NOTES : Fixed quoted MD5 password for MySQL use (again...)
git-svn-id: svn://svn.anope.org/anope/trunk@42 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@31 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'mysql.c')
-rw-r--r-- | mysql.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -275,7 +275,7 @@ void db_mysql_save_ns_core(NickCore * nc) snprintf(sqlcmd, MAX_SQL_BUF, "INSERT DELAYED INTO anope_ns_core (display,pass,email,greet,icq,url,flags," "language,accesscount,memocount,memomax,channelcount,channelmax,active)" - " VALUES ('%s',%s,'%s','%s','%d','%s','%d','%d','%d','%d','%d','%d','%d','1')", + " VALUES ('%s','%s','%s','%s','%d','%s','%d','%d','%d','%d','%d','%d','%d','1')", cnick, epass, cemail, cgreet, nc->icq, curl, nc->flags, nc->language, nc->accesscount, nc->memos.memocount, nc->memos.memomax, nc->channelcount, nc->channelmax); @@ -466,7 +466,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, |