summaryrefslogtreecommitdiff
path: root/mysql.c
diff options
context:
space:
mode:
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);