1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 03:03:13 +02:00

Rewrote some of the opertype system, added os_login

This commit is contained in:
Adam
2011-03-14 13:52:26 -04:00
parent 4fe49af840
commit ed73d76751
65 changed files with 393 additions and 201 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ class CommandNSAList : public Command
Anope::string nick;
NickAlias *na;
int is_servadmin = u->Account()->IsServicesOper();
int is_servadmin = u->IsServicesOper();
unsigned lev_param = 0;
if (!is_servadmin)
@@ -134,7 +134,7 @@ class CommandNSAList : public Command
bool OnHelp(CommandSource &source, const Anope::string &subcommand)
{
User *u = source.u;
if (u->Account() && u->Account()->IsServicesOper())
if (u->IsServicesOper())
source.Reply(_("Syntax: \002ALIST [\037nickname\037] [\037level\037]\002\n"
" \n"
"With no parameters, lists channels you have access on. With\n"