1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 14:16:39 +02:00

Use auto in more places in db_atheme.

This commit is contained in:
Sadie Powell
2024-06-19 21:29:00 +01:00
parent 0065a0f405
commit 3388736fab
+2 -2
View File
@@ -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!";