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/snomasks.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/snomasks.cpp') diff --git a/src/snomasks.cpp b/src/snomasks.cpp index 7dc84ba9c..4ff6ae1be 100644 --- a/src/snomasks.cpp +++ b/src/snomasks.cpp @@ -84,9 +84,9 @@ void Snomask::SendMessage(const std::string& message, char letter) this->Flush(); std::string desc = GetDescription(letter); - ModResult MOD_RESULT; - FIRST_MOD_RESULT(OnSendSnotice, MOD_RESULT, (letter, desc, message)); - if (MOD_RESULT == MOD_RES_DENY) + ModResult modres; + FIRST_MOD_RESULT(OnSendSnotice, modres, (letter, desc, message)); + if (modres == MOD_RES_DENY) return; Snomask::Send(letter, desc, message); -- cgit v1.3.1-10-gc9f91