diff options
| author | 2018-08-14 00:17:03 +0100 | |
|---|---|---|
| committer | 2018-08-14 00:18:13 +0100 | |
| commit | 10b17a0e9f948b1dd4f69c9af1f55f712664d155 (patch) | |
| tree | dac8e9e5f2ec9440f44d4f96b50dd41931e65bf1 /src/modules.cpp | |
| parent | Replace all references to IRCv3.2 with IRCv3. (diff) | |
| download | inspircd++-10b17a0e9f948b1dd4f69c9af1f55f712664d155.tar.gz inspircd++-10b17a0e9f948b1dd4f69c9af1f55f712664d155.tar.bz2 inspircd++-10b17a0e9f948b1dd4f69c9af1f55f712664d155.zip | |
Remove the OnInfo event.
This is not used by anything and On{Post,Pre}Command hooks can
be used if people really want to add stuff to INFO.
Diffstat (limited to 'src/modules.cpp')
| -rw-r--r-- | src/modules.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index 7912fb569..866138728 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -83,7 +83,6 @@ void Module::OnMode(User*, User*, Channel*, const Modes::ChangeList&, ModeParse void Module::OnOper(User*, const std::string&) { DetachEvent(I_OnOper); } void Module::OnPostOper(User*, const std::string&, const std::string &) { DetachEvent(I_OnPostOper); } void Module::OnPostDeoper(User*) { DetachEvent(I_OnPostDeoper); } -void Module::OnInfo(User*) { DetachEvent(I_OnInfo); } 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::OnUserPreNick(LocalUser*, const std::string&) { DetachEvent(I_OnUserPreNick); return MOD_RES_PASSTHRU; } |
