1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 08:56:37 +02:00

Allow command aliases to be redirected to different pseudo clients

This commit is contained in:
Adam
2010-12-06 20:53:15 -05:00
parent aed53dbb47
commit f1d04a2f8e
4 changed files with 53 additions and 40 deletions
+1 -1
View File
@@ -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