aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-09-09 15:44:38 +0100
committerGravatar Sadie Powell2024-09-09 15:48:02 +0100
commit6204c9636e8ea87d690e1e7c06cbf35d04083586 (patch)
tree9d4e437bc9b5849fb85a716c6ddcea272b137822 /src/users.cpp
parentMerge branch 'insp4' into master. (diff)
parentSend an ISupport diff when a user moves to a new connect class. (diff)
Merge branch 'insp4' into master.
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 28b0109b5..cdf915aa8 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);