diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-06-12 20:08:22 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-06-12 20:08:22 +0200 |
commit | 98f3924960d849691abc81e0928dc43ad9233b01 (patch) | |
tree | 58bccb259cdbec8cb3aa5677eb8d05799ab55bbb /include | |
parent | c23d09f65084e6088111dc974f0e290b042de89d (diff) |
Change command name parameter of OnPostCommand to be a Command*
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h index 5055e0b82..a26b6e857 100644 --- a/include/modules.h +++ b/include/modules.h @@ -933,7 +933,7 @@ class CoreExport Module : public classbase, public usecountbase * @param result The return code given by the command handler, one of CMD_SUCCESS or CMD_FAILURE * @param original_line The entire original line as passed to the parser from the user */ - virtual void OnPostCommand(const std::string &command, const std::vector<std::string>& parameters, LocalUser *user, CmdResult result, const std::string &original_line); + virtual void OnPostCommand(Command* command, const std::vector<std::string>& parameters, LocalUser* user, CmdResult result, const std::string& original_line); /** Called when a user is first connecting, prior to starting DNS lookups, checking initial * connect class, or accepting any commands. |