diff options
| author | 2023-11-15 22:17:18 +0000 | |
|---|---|---|
| committer | 2024-05-06 17:18:07 +0100 | |
| commit | 4b6af49b435d213d94221ac210293f4a2e7ef66f (patch) | |
| tree | 3d00f8f232ba5b10d17cd89a35ecdea0d7050f9a /include/modules | |
| parent | Switch --(protocol)debug to use a custom logger. (diff) | |
Allow mutating the status message type in OnUserPre(Tag)Message.
Diffstat (limited to 'include/modules')
| -rw-r--r-- | include/modules/ctctags.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modules/ctctags.h b/include/modules/ctctags.h index 71ae9e44e..5138e24a5 100644 --- a/include/modules/ctctags.h +++ b/include/modules/ctctags.h @@ -135,7 +135,7 @@ public: * @return MOD_RES_ALLOW to explicitly allow the message, MOD_RES_DENY to explicitly deny the * message, or MOD_RES_PASSTHRU to let another module handle the event. */ - virtual ModResult OnUserPreTagMessage(User* user, const MessageTarget& target, TagMessageDetails& details) { return MOD_RES_PASSTHRU; } + virtual ModResult OnUserPreTagMessage(User* user, MessageTarget& target, TagMessageDetails& details) { return MOD_RES_PASSTHRU; } /** Called immediately after a user sends a tag message to a channel, a user, or a server glob mask. * @param user The user sending the message. |
