diff options
| author | 2024-09-09 15:44:38 +0100 | |
|---|---|---|
| committer | 2024-09-09 15:48:02 +0100 | |
| commit | 6204c9636e8ea87d690e1e7c06cbf35d04083586 (patch) | |
| tree | 9d4e437bc9b5849fb85a716c6ddcea272b137822 /src/users.cpp | |
| parent | Merge branch 'insp4' into master. (diff) | |
| parent | Send 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.cpp | 6 |
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); |
