diff options
| author | Adam <Adam@anope.org> | 2010-12-06 20:53:15 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-12-12 19:37:03 -0500 |
| commit | f1d04a2f8e4e9077d07a94b64478bb331b49bbc0 (patch) | |
| tree | 5bb30c0cafa49e4956ca2fb3408e3430ac3efd37 /include | |
| parent | aed53dbb47822a79eb9a6b61095ad04ec3d67818 (diff) | |
Allow command aliases to be redirected to different pseudo clients
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 c96c1ae27..55697dbb9 100644 --- a/include/modules.h +++ b/include/modules.h @@ -367,7 +367,7 @@ class CoreExport Module : public Extensible * @param ci If a tanasy command, the channel the comman was used on * @return EVENT_CONTINUE to let other modules decide, EVENT_STOP to halt the command and not process it */ - virtual EventReturn OnPreCommandRun(User *u, BotInfo *bi, Anope::string &command, Anope::string &message, ChannelInfo *ci) { return EVENT_CONTINUE; } + virtual EventReturn OnPreCommandRun(User *&u, BotInfo *&bi, Anope::string &command, Anope::string &message, ChannelInfo *&ci) { return EVENT_CONTINUE; } /** Called before a command is due to be executed. * @param source The source of the command |
