mirror of
https://github.com/anope/anope.git
synced 2026-06-28 20:16:38 +02:00
Rewrote some of the opertype system, added os_login
This commit is contained in:
@@ -41,7 +41,7 @@ class CommandBSHelp : public Command
|
||||
"%s HELP \037command\037\002."),
|
||||
BotServ->nick.c_str(), BotServ->nick.c_str(), BotServ->nick.c_str());
|
||||
for (CommandMap::const_iterator it = BotServ->Commands.begin(), it_end = BotServ->Commands.end(); it != it_end; ++it)
|
||||
if (!Config->HidePrivilegedCommands || it->second->permission.empty() || (u->Account() && u->Account()->HasCommand(it->second->permission)))
|
||||
if (!Config->HidePrivilegedCommands || it->second->permission.empty() || u->HasCommand(it->second->permission))
|
||||
it->second->OnServHelp(source);
|
||||
source.Reply(_("Bot will join a channel whenever there is at least\n"
|
||||
"\002%d\002 user(s) on it. Additionally, all %s commands\n"
|
||||
|
||||
Reference in New Issue
Block a user