summaryrefslogtreecommitdiff
path: root/src/mysql.c
diff options
context:
space:
mode:
authorgeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-12-09 23:15:14 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-12-09 23:15:14 +0000
commitbcd28b951d740f0d7846c81adbea93439ed28eaf (patch)
treec4caf5cd0dd3fb2b4c64242accea46946695b07d /src/mysql.c
parent10aac18c8ec6a16100da57f87ab71d86f60f4b8c (diff)
BUILD : 1.7.17 (1203) BUGS : NOTES : Small MySQL fix which should have already been in
git-svn-id: svn://svn.anope.org/anope/trunk@1203 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@922 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/mysql.c')
-rw-r--r--src/mysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mysql.c b/src/mysql.c
index 19db1e419..c5016aa2a 100644
--- a/src/mysql.c
+++ b/src/mysql.c
@@ -899,7 +899,7 @@ void db_mysql_save_news(NewsItem * ni)
q_text = db_mysql_quote(ni->text);
q_who = db_mysql_quote(ni->who);
- db_mysql_try("UPDATE anope_os_news SET ntext = '%s', who = '%s' "
+ db_mysql_try("UPDATE anope_os_news SET ntext = '%s', who = '%s', "
"active = 1 WHERE type = %d AND num = %d AND `time` = %d",
q_text, q_who, ni->type, ni->num, (int) ni->time);
if (mysql_affected_rows(mysql) == 0) {