diff options
| author | 2024-08-31 16:21:09 +0100 | |
|---|---|---|
| committer | 2024-08-31 16:21:09 +0100 | |
| commit | f6da60b3f4e4bd05671cc3ad03200458a426b8e9 (patch) | |
| tree | 166ce25ba4204d8702206b1129d68b542b62476b /src/modules | |
| parent | Minor performance improvement to ProcessColors. (diff) | |
Normalise the case of MOD_RESULT variables.
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/m_sqloper.cpp | 6 |
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. |
