diff options
| author | 2024-09-09 15:44:38 +0100 | |
|---|---|---|
| committer | 2024-09-09 15:48:02 +0100 | |
| commit | 6204c9636e8ea87d690e1e7c06cbf35d04083586 (patch) | |
| tree | 9d4e437bc9b5849fb85a716c6ddcea272b137822 /src/snomasks.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/snomasks.cpp')
| -rw-r--r-- | src/snomasks.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/snomasks.cpp b/src/snomasks.cpp index 2c437cea2..15315eff2 100644 --- a/src/snomasks.cpp +++ b/src/snomasks.cpp @@ -1,7 +1,7 @@ /* * InspIRCd -- Internet Relay Chat Daemon * - * Copyright (C) 2021-2023 Sadie Powell <sadie@witchery.services> + * Copyright (C) 2021-2024 Sadie Powell <sadie@witchery.services> * Copyright (C) 2013-2014 Attila Molnar <attilamolnar@hush.com> * Copyright (C) 2013 Adam <Adam@anope.org> * Copyright (C) 2012 Robby <robby@chatbelgie.be> @@ -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); |
