summaryrefslogtreecommitdiff
path: root/src/mysql.c
diff options
context:
space:
mode:
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 62e316010..96899be44 100644
--- a/src/mysql.c
+++ b/src/mysql.c
@@ -941,7 +941,7 @@ int db_mysql_save_news(NewsItem * ni)
if (ret && (mysql_affected_rows(mysql) == 0)) {
ret = db_mysql_try("INSERT DELAYED INTO anope_os_news "
- "(type, num, ntext, who, time`, active) "
+ "(type, num, ntext, who, `time`, active) "
"VALUES (%d, %d, '%s', '%s', %d, 1)",
ni->type, ni->num, q_text, q_who, (int) ni->time);
}