diff options
Diffstat (limited to 'src/modules/m_sqloper.cpp')
| -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. |
