aboutsummaryrefslogtreecommitdiffstats
path: root/src/snomasks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/snomasks.cpp')
-rw-r--r--src/snomasks.cpp6
1 files changed, 3 insertions, 3 deletions
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);