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:14:21 +0000
committerdane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-04-16 18:14:21 +0000
commitd74d3e1ad82e69d6c9fd322a09d65d05c217e9a3 (patch)
tree735322ec4fde98669ed2fb72e9ec3272a10809ca /mysql.c
parent562a146eb27c9e452553adfffd21eeb10548fee0 (diff)
BUILD : 1.7.1 (54) NOTES : Added one more fix for MySQL nick password.
git-svn-id: svn://svn.anope.org/anope/trunk@54 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@35 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'mysql.c')
-rw-r--r--mysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql.c b/mysql.c
index e1c5f5b22..e04d2b75e 100644
--- a/mysql.c
+++ b/mysql.c
@@ -277,7 +277,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);