mirror of
https://github.com/anope/anope.git
synced 2026-06-30 02:56:38 +02:00
Rewrote some of the opertype system, added os_login
This commit is contained in:
@@ -38,9 +38,9 @@ class CommandNSHelp : public Command
|
||||
"\002%R%s HELP \037command\037\002."), NickServ->nick.c_str(), NickServ->nick.c_str(),
|
||||
NickServ->nick.c_str());
|
||||
for (CommandMap::const_iterator it = NickServ->Commands.begin(), it_end = NickServ->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);
|
||||
if (u->Account() && u->Account()->IsServicesOper())
|
||||
if (u->IsServicesOper())
|
||||
source.Reply(_(" \n"
|
||||
"Services Operators can also drop any nickname without needing\n"
|
||||
"to identify for the nick, and may view the access list for\n"
|
||||
|
||||
Reference in New Issue
Block a user