diff options
| author | 2024-08-31 16:21:09 +0100 | |
|---|---|---|
| committer | 2024-08-31 16:21:09 +0100 | |
| commit | f6da60b3f4e4bd05671cc3ad03200458a426b8e9 (patch) | |
| tree | 166ce25ba4204d8702206b1129d68b542b62476b /src/snomasks.cpp | |
| parent | Minor performance improvement to ProcessColors. (diff) | |
Normalise the case of MOD_RESULT variables.
Diffstat (limited to 'src/snomasks.cpp')
| -rw-r--r-- | src/snomasks.cpp | 6 |
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); |
