summaryrefslogtreecommitdiff
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-12 08:37:02 +0000
committerdane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-04-12 08:37:02 +0000
commitbba07a560e2942ec78761367ff5bab8e354c35e5 (patch)
tree9086917a02435b97aa3d883158454de57f495fa8
parentffccad22fb793443189d6bcffa6741cee4fb7bad (diff)
BUILD : 1.7.0 (40) BUGS : 11 NOTES : Fixed mysql query failure with md5 passwords
git-svn-id: svn://svn.anope.org/anope/trunk@40 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@30 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--Changes1
-rw-r--r--mysql.c4
-rw-r--r--version.log6
3 files changed, 8 insertions, 3 deletions
diff --git a/Changes b/Changes
index 6102e3117..be79e4872 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,7 @@
Anope Version 1.7.0
--------------------
Provided by Anope Dev. <dev@anope.org>
+2004/04/12 Fixed quoted MD5 password for MySQL use (Bug #11)
2004/04/11 Fixed table.sql detection on mydbgen script (Bug #10)
2004/04/09 Fixed segfault due to coreless nicks in MySQL db (Bug #8)
2004/04/08 Added NickRegDelay. Nicks have to be connected longer than X seconds before a /ns register.
diff --git a/mysql.c b/mysql.c
index 6ce3bc1ce..f1592740a 100644
--- a/mysql.c
+++ b/mysql.c
@@ -256,7 +256,7 @@ void db_mysql_save_ns_core(NickCore * nc)
/* Let's take care of the core itself */
/* Update the existing records */
snprintf(sqlcmd, MAX_SQL_BUF,
- "UPDATE anope_ns_core SET pass=%s,email='%s',greet='%s',icq='%d',url='%s',flags='%d',"
+ "UPDATE anope_ns_core SET pass='%s',email='%s',greet='%s',icq='%d',url='%s',flags='%d',"
"language='%d',accesscount='%d',memocount='%d',memomax='%d',channelcount='%d'"
",channelmax='%d',active='1' WHERE display='%s'",
epass, cemail, cgreet, nc->icq, curl, nc->flags,
@@ -414,7 +414,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',"
diff --git a/version.log b/version.log
index 8a2699c04..69e43d86a 100644
--- a/version.log
+++ b/version.log
@@ -8,11 +8,15 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="0"
-VERSION_BUILD="39"
+VERSION_BUILD="40"
VERSION_EXTRA=""
# $Log$
#
+# BUILD : 1.7.0 (40)
+# BUGS : 11
+# NOTES : Fixed mysql query failure with md5 passwords
+#
# BUILD : 1.7.0 (39)
# BUGS : 10
# NOTES : Fixed tables.sql detection on mydbgen script.