diff options
| author | 2013-06-13 18:20:10 +0200 | |
|---|---|---|
| committer | 2013-06-13 18:20:10 +0200 | |
| commit | ac72c53ce2425801e135ab57c5defa707adcef5d (patch) | |
| tree | 18f34c8f8c51deb24fb64e7a8caf02d326abb936 /src/modules.cpp | |
| parent | Introduce ModeProcessFlags, can be passed to ModeParser::Process() to indicat... (diff) | |
| download | inspircd++-ac72c53ce2425801e135ab57c5defa707adcef5d.tar.gz inspircd++-ac72c53ce2425801e135ab57c5defa707adcef5d.tar.bz2 inspircd++-ac72c53ce2425801e135ab57c5defa707adcef5d.zip | |
Replace void* dest and target_type parameters of OnMode with a User* and a Channel*
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 039e01421..58a77faff 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -87,7 +87,7 @@ void Module::OnPreRehash(User*, const std::string&) { } void Module::OnModuleRehash(User*, const std::string&) { } void Module::OnRehash(User*) { } ModResult Module::OnUserPreJoin(LocalUser*, Channel*, const std::string&, std::string&, const std::string&) { return MOD_RES_PASSTHRU; } -void Module::OnMode(User*, void*, int, const std::vector<std::string>&, const std::vector<TranslateType>&) { } +void Module::OnMode(User*, User*, Channel*, const std::vector<std::string>&, const std::vector<TranslateType>&) { } void Module::OnOper(User*, const std::string&) { } void Module::OnPostOper(User*, const std::string&, const std::string &) { } void Module::OnInfo(User*) { } |
