diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-05-06 17:08:55 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-05-06 17:08:55 +0000 |
commit | 75f39dec7af0a493767d92e121601060e29d7e17 (patch) | |
tree | 6dc1156b33ff0cb8bbe62799536fca2caa20cd81 /src | |
parent | 3ebaa46c99a0a91507a17cc878dbfd0591a2ee02 (diff) |
Fixed bug #1159 and made the SQL fields holding timestamps more consistant
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2939 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/mysql/db_mysql_write.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/mysql/db_mysql_write.cpp b/src/modules/mysql/db_mysql_write.cpp index 44679cc9c..cd3a7458b 100644 --- a/src/modules/mysql/db_mysql_write.cpp +++ b/src/modules/mysql/db_mysql_write.cpp @@ -1010,7 +1010,7 @@ class DBMySQLWrite : public DBMySQL EventReturn OnExceptionAdd(User *u, Exception *ex) { mysqlpp::Query query(Me->Con); - query << "INSERT DELAYED INTO `anope_os_exceptions` (mask, limit, who, reason, time, expires) VALUES("; + query << "INSERT DELAYED INTO `anope_os_exceptions` (mask, slimit, who, reason, time, expires) VALUES("; query << mysqlpp::quote << ex->mask << ", " << ex->limit << ", " << mysqlpp::quote << ex->who << ", "; query << mysqlpp::quote << ex->reason << ", " << ex->time << ", " << ex->expires << ")"; ExecuteQuery(query); |