diff options
| author | 2014-02-21 14:18:49 +0100 | |
|---|---|---|
| committer | 2014-02-21 14:18:49 +0100 | |
| commit | 9e123ad1218e8c3ff29cee2a8a6e1b4b6f56b33b (patch) | |
| tree | 5863fec6e189f27b9a9771d8ddaf6f4727bc4a79 /src/modules.cpp | |
| parent | Add a ModeParser::FindMode() overload that takes a mode name and a mode type (diff) | |
| download | inspircd++-9e123ad1218e8c3ff29cee2a8a6e1b4b6f56b33b.tar.gz inspircd++-9e123ad1218e8c3ff29cee2a8a6e1b4b6f56b33b.tar.bz2 inspircd++-9e123ad1218e8c3ff29cee2a8a6e1b4b6f56b33b.zip | |
Replace mode letter parameter of OnRawMode() with a ModeHandler*, remove pcnt
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 3baf4bc4e..cbb8661ae 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -114,7 +114,7 @@ ModResult Module::OnCheckReady(LocalUser*) { DetachEvent(I_OnCheckReady); return ModResult Module::OnUserRegister(LocalUser*) { DetachEvent(I_OnUserRegister); return MOD_RES_PASSTHRU; } ModResult Module::OnUserPreKick(User*, Membership*, const std::string&) { DetachEvent(I_OnUserPreKick); return MOD_RES_PASSTHRU; } void Module::OnUserKick(User*, Membership*, const std::string&, CUList&) { DetachEvent(I_OnUserKick); } -ModResult Module::OnRawMode(User*, Channel*, const char, const std::string &, bool, int) { DetachEvent(I_OnRawMode); return MOD_RES_PASSTHRU; } +ModResult Module::OnRawMode(User*, Channel*, ModeHandler*, const std::string&, bool) { DetachEvent(I_OnRawMode); return MOD_RES_PASSTHRU; } ModResult Module::OnCheckInvite(User*, Channel*) { DetachEvent(I_OnCheckInvite); return MOD_RES_PASSTHRU; } ModResult Module::OnCheckKey(User*, Channel*, const std::string&) { DetachEvent(I_OnCheckKey); return MOD_RES_PASSTHRU; } ModResult Module::OnCheckLimit(User*, Channel*) { DetachEvent(I_OnCheckLimit); return MOD_RES_PASSTHRU; } |
