From 44986c79769d4efc2badc5b9c3df2e75e81ac28e Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 29 Sep 2022 12:41:07 +0100 Subject: Use auto instead of type names where the type is obvious. --- src/modules/m_sqloper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_sqloper.cpp') diff --git a/src/modules/m_sqloper.cpp b/src/modules/m_sqloper.cpp index fc1cf4e32..453654c9e 100644 --- a/src/modules/m_sqloper.cpp +++ b/src/modules/m_sqloper.cpp @@ -126,7 +126,7 @@ public: // Call /oper after placing all blocks from the SQL table into the config->oper_blocks list. void OperExec() { - User* user = ServerInstance->Users.Find(uid); + auto user = ServerInstance->Users.Find(uid); LocalUser* localuser = IS_LOCAL(user); // This should never be true if (!localuser) -- cgit v1.3.1-10-gc9f91