aboutsummaryrefslogtreecommitdiff
path: root/src/users.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/users.cpp
parentMinor performance improvement to ProcessColors. (diff)
Normalise the case of MOD_RESULT variables.
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp6
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);