diff options
-rw-r--r-- | modules/database/db_atheme.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/database/db_atheme.cpp b/modules/database/db_atheme.cpp index 377e52a5e..8ccef0e20 100644 --- a/modules/database/db_atheme.cpp +++ b/modules/database/db_atheme.cpp @@ -687,7 +687,7 @@ private: bool HandleDBV(AthemeRow &row) { // DBV <version> - unsigned version = row.GetNum<unsigned>(); + auto version = row.GetNum<unsigned>(); if (version != 12) { Log(this) << "Database is version " << version << " which is not supported!"; @@ -699,7 +699,7 @@ private: bool HandleGRVER(AthemeRow &row) { // GRVER <version> - unsigned version = row.GetNum<unsigned>(); + auto version = row.GetNum<unsigned>(); if (version != 1) { Log(this) << "Database grammar is version " << version << " which is not supported!"; |