mirror of
https://github.com/anope/anope.git
synced 2026-06-29 09:16:38 +02:00
The rest of the earlier command changes
This commit is contained in:
@@ -56,8 +56,9 @@ class ModuleAlias : public Module
|
||||
}
|
||||
}
|
||||
|
||||
EventReturn OnPreCommandRun(User *u, BotInfo *bi, Anope::string &command, Anope::string &message, bool fantasy)
|
||||
EventReturn OnPreCommandRun(User *u, BotInfo *bi, Anope::string &command, Anope::string &message, ChannelInfo *ci)
|
||||
{
|
||||
bool fantasy = ci != NULL;
|
||||
std::map<Anope::string, CommandAlias, std::less<ci::string> >::const_iterator it = aliases.find(command);
|
||||
if (it != aliases.end())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user