diff options
| author | 2013-06-12 20:08:22 +0200 | |
|---|---|---|
| committer | 2013-06-12 20:08:22 +0200 | |
| commit | 98f3924960d849691abc81e0928dc43ad9233b01 (patch) | |
| tree | 58bccb259cdbec8cb3aa5677eb8d05799ab55bbb /src/modules.cpp | |
| parent | Simplify stringjoiner: take 1 parameter, join from begin() to end() and use s... (diff) | |
| download | inspircd++-98f3924960d849691abc81e0928dc43ad9233b01.tar.gz inspircd++-98f3924960d849691abc81e0928dc43ad9233b01.tar.bz2 inspircd++-98f3924960d849691abc81e0928dc43ad9233b01.zip | |
Change command name parameter of OnPostCommand to be a Command*
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 75251ffdf..7f3695ade 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -103,7 +103,7 @@ void Module::OnLoadModule(Module*) { } void Module::OnUnloadModule(Module*) { } void Module::OnBackgroundTimer(time_t) { } ModResult Module::OnPreCommand(std::string&, std::vector<std::string>&, LocalUser*, bool, const std::string&) { return MOD_RES_PASSTHRU; } -void Module::OnPostCommand(const std::string&, const std::vector<std::string>&, LocalUser*, CmdResult, const std::string&) { } +void Module::OnPostCommand(Command*, const std::vector<std::string>&, LocalUser*, CmdResult, const std::string&) { } void Module::OnUserInit(LocalUser*) { } ModResult Module::OnCheckReady(LocalUser*) { return MOD_RES_PASSTHRU; } ModResult Module::OnUserRegister(LocalUser*) { return MOD_RES_PASSTHRU; } |
