From f6da60b3f4e4bd05671cc3ad03200458a426b8e9 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 31 Aug 2024 16:21:09 +0100 Subject: Normalise the case of MOD_RESULT variables. --- src/modules/m_sqloper.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_sqloper.cpp b/src/modules/m_sqloper.cpp index bba318c04..0e30d1745 100644 --- a/src/modules/m_sqloper.cpp +++ b/src/modules/m_sqloper.cpp @@ -132,11 +132,11 @@ public: params.push_back(password); // Begin callback to other modules (i.e. sslinfo) now that we completed the DB fetch - ModResult MOD_RESULT; + ModResult modres; std::string origin = "OPER"; - FIRST_MOD_RESULT(OnPreCommand, MOD_RESULT, (origin, params, user, true)); - if (MOD_RESULT == MOD_RES_DENY) + FIRST_MOD_RESULT(OnPreCommand, modres, (origin, params, user, true)); + if (modres == MOD_RES_DENY) return; // Now handle /OPER. -- cgit v1.3.1-10-gc9f91