From 3388736fabf562de9ad2c50cb45c7ccbb05ab9f0 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 19 Jun 2024 21:29:00 +0100 Subject: [PATCH] Use auto in more places in db_atheme. --- modules/database/db_atheme.cpp | 4 ++-- 1 file 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 - 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!";