1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 16:26:38 +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
@@ -51,7 +51,7 @@ class CommandNSDrop : public Command
if (is_mine && nick.empty())
my_nick = na->nick;
if (!is_mine && !u->Account()->HasPriv("nickserv/drop"))
if (!is_mine && !u->HasPriv("nickserv/drop"))
source.Reply(_(ACCESS_DENIED));
else if (Config->NSSecureAdmins && !is_mine && na->nc->IsServicesOper())
source.Reply(_(ACCESS_DENIED));
@@ -90,7 +90,7 @@ class CommandNSDrop : public Command
bool OnHelp(CommandSource &source, const Anope::string &subcommand)
{
User *u = source.u;
if (u->Account() && u->Account()->HasPriv("nickserv/drop"))
if (u->Account() && u->HasPriv("nickserv/drop"))
source.Reply(_("Syntax: \002DROP [\037nickname\037]\002\n"
" \n"
"Without a parameter, drops your nickname from the\n"