From f6da60b3f4e4bd05671cc3ad03200458a426b8e9 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 31 Aug 2024 16:21:09 +0100 Subject: Normalise the case of MOD_RESULT variables. --- src/users.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/users.cpp') 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); -- cgit v1.3.1-10-gc9f91