summaryrefslogtreecommitdiff
path: root/modules/extra/mysql.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/mysql.cpp')
-rw-r--r--modules/extra/mysql.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/mysql.cpp b/modules/extra/mysql.cpp
index 389124073..a5d1ac163 100644
--- a/modules/extra/mysql.cpp
+++ b/modules/extra/mysql.cpp
@@ -509,7 +509,7 @@ Query MySQLService::Commit()
Serialize::ID MySQLService::GetID(const Anope::string &prefix)
{
Query query = "SELECT `id` FROM `" + prefix + "objects` ORDER BY `id` DESC LIMIT 1";
- Serialize::ID id = 0;
+ Serialize::ID id = 1;
Result res = RunQuery(query);
if (res.Rows())