1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 16:06:39 +02:00

Added command aliases

This commit is contained in:
Adam
2010-11-14 15:12:32 -05:00
parent c792c7f62d
commit 3c9d4e9daf
16 changed files with 186 additions and 64 deletions
+4 -4
View File
@@ -175,20 +175,20 @@ int m_privmsg(const Anope::string &source, const Anope::string &receiver, const
}
}
if (bi == NickServ || bi == MemoServ || bi == BotServ)
mod_run_cmd(bi, u, message);
mod_run_cmd(bi, u, message, false);
else if (bi == ChanServ)
{
if (!is_oper(u) && Config->CSOpersOnly)
u->SendMessage(ChanServ, ACCESS_DENIED);
else
mod_run_cmd(bi, u, message);
mod_run_cmd(bi, u, message, false);
}
else if (bi == HostServ)
{
if (!ircd->vhost)
u->SendMessage(HostServ, SERVICE_OFFLINE, Config->s_HostServ.c_str());
else
mod_run_cmd(bi, u, message);
mod_run_cmd(bi, u, message, false);
}
else if (bi == OperServ)
{
@@ -201,7 +201,7 @@ int m_privmsg(const Anope::string &source, const Anope::string &receiver, const
else
{
Log(OperServ) << u->nick << ": " << message;
mod_run_cmd(bi, u, message);
mod_run_cmd(bi, u, message, false);
}
}
}