From 15099958a5bef6c67f0d4cf4b25f9a181caa6352 Mon Sep 17 00:00:00 2001 From: "dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Wed, 14 Apr 2004 11:55:08 +0000 Subject: [PATCH] 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 --- mysql.c | 4 ++-- version.log | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/mysql.c b/mysql.c index f1592740a..004e07967 100644 --- a/mysql.c +++ b/mysql.c @@ -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, diff --git a/version.log b/version.log index 69e43d86a..0bb4bcb40 100644 --- a/version.log +++ b/version.log @@ -8,11 +8,15 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="0" -VERSION_BUILD="40" +VERSION_BUILD="42" VERSION_EXTRA="" # $Log$ # +# BUILD : 1.7.0 (42) +# BUGS : 11 +# NOTES : Fixed quoted MD5 password for MySQL use (again...) +# # BUILD : 1.7.0 (40) # BUGS : 11 # NOTES : Fixed mysql query failure with md5 passwords