aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_sqloper.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-08-31 16:21:09 +0100
committerGravatar Sadie Powell2024-08-31 16:21:09 +0100
commitf6da60b3f4e4bd05671cc3ad03200458a426b8e9 (patch)
tree166ce25ba4204d8702206b1129d68b542b62476b /src/modules/m_sqloper.cpp
parentMinor performance improvement to ProcessColors. (diff)
Normalise the case of MOD_RESULT variables.
Diffstat (limited to 'src/modules/m_sqloper.cpp')
-rw-r--r--src/modules/m_sqloper.cpp6
1 files changed, 3 insertions, 3 deletions
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.