diff options
| author | 2024-08-31 16:21:09 +0100 | |
|---|---|---|
| committer | 2024-08-31 16:21:09 +0100 | |
| commit | f6da60b3f4e4bd05671cc3ad03200458a426b8e9 (patch) | |
| tree | 166ce25ba4204d8702206b1129d68b542b62476b /src/users.cpp | |
| parent | Minor performance improvement to ProcessColors. (diff) | |
Normalise the case of MOD_RESULT variables.
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/users.cpp b/src/users.cpp index 9dea443f2..d76f7f8d0 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -781,11 +781,11 @@ void User::WriteNumeric(const Numeric::Numeric& numeric) if (!localuser) return; - ModResult MOD_RESULT; + ModResult modres; - FIRST_MOD_RESULT(OnNumeric, MOD_RESULT, (this, numeric)); + FIRST_MOD_RESULT(OnNumeric, modres, (this, numeric)); - if (MOD_RESULT == MOD_RES_DENY) + if (modres == MOD_RES_DENY) return; ClientProtocol::Messages::Numeric numericmsg(numeric, localuser); |
