diff options
| author | 2023-11-15 22:17:18 +0000 | |
|---|---|---|
| committer | 2024-05-06 17:18:07 +0100 | |
| commit | 4b6af49b435d213d94221ac210293f4a2e7ef66f (patch) | |
| tree | 3d00f8f232ba5b10d17cd89a35ecdea0d7050f9a /src/modules.cpp | |
| parent | Switch --(protocol)debug to use a custom logger. (diff) | |
Allow mutating the status message type in OnUserPre(Tag)Message.
Diffstat (limited to 'src/modules.cpp')
| -rw-r--r-- | src/modules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index 337eebbb8..eb4e94fd2 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -106,7 +106,7 @@ void Module::OnModuleRehash(User*, const std::string&) { DetachEvent(I_OnModule ModResult Module::OnUserPreJoin(LocalUser*, Channel*, const std::string&, std::string&, const std::string&, bool) { DetachEvent(I_OnUserPreJoin); return MOD_RES_PASSTHRU; } void Module::OnMode(User*, User*, Channel*, const Modes::ChangeList&, ModeParser::ModeProcessFlag) { DetachEvent(I_OnMode); } ModResult Module::OnUserPreInvite(User*, User*, Channel*, time_t) { DetachEvent(I_OnUserPreInvite); return MOD_RES_PASSTHRU; } -ModResult Module::OnUserPreMessage(User*, const MessageTarget&, MessageDetails&) { DetachEvent(I_OnUserPreMessage); return MOD_RES_PASSTHRU; } +ModResult Module::OnUserPreMessage(User*, MessageTarget&, MessageDetails&) { DetachEvent(I_OnUserPreMessage); return MOD_RES_PASSTHRU; } ModResult Module::OnUserPreNick(LocalUser*, const std::string&) { DetachEvent(I_OnUserPreNick); return MOD_RES_PASSTHRU; } void Module::OnUserPostNick(User*, const std::string&) { DetachEvent(I_OnUserPostNick); } ModResult Module::OnPreMode(User*, User*, Channel*, Modes::ChangeList&) { DetachEvent(I_OnPreMode); return MOD_RES_PASSTHRU; } |
