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 - unsigned version = row.GetNum(); + auto version = row.GetNum(); if (version != 12) { Log(this) << "Database is version " << version << " which is not supported!"; @@ -699,7 +699,7 @@ private: bool HandleGRVER(AthemeRow &row) { // GRVER - unsigned version = row.GetNum(); + auto version = row.GetNum(); if (version != 1) { Log(this) << "Database grammar is version " << version << " which is not supported!";