diff options
author | Sadie Powell <sadie@witchery.services> | 2024-06-19 21:29:00 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-06-19 22:44:31 +0100 |
commit | 3388736fabf562de9ad2c50cb45c7ccbb05ab9f0 (patch) | |
tree | 8e546a2c93652b4bbadf462c1bd52c3e235983dc /modules | |
parent | 0065a0f4059c4689f10994efca4d5fce96442da8 (diff) |
Use auto in more places in db_atheme.
Diffstat (limited to 'modules')
-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!"; |