summaryrefslogtreecommitdiff
path: root/modules/core/ns_info.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-03-14 13:52:26 -0400
committerAdam <Adam@anope.org>2011-03-14 13:52:26 -0400
commited73d7675152ccc66f20daedca8586a8de254a84 (patch)
tree18f7a1a53a717f24d061550c6670ca6f0ed54f9f /modules/core/ns_info.cpp
parent4fe49af8401b956249d924b89b3e69bce5fb6744 (diff)
Rewrote some of the opertype system, added os_login
Diffstat (limited to 'modules/core/ns_info.cpp')
-rw-r--r--modules/core/ns_info.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/core/ns_info.cpp b/modules/core/ns_info.cpp
index 4c25179a4..6328341cb 100644
--- a/modules/core/ns_info.cpp
+++ b/modules/core/ns_info.cpp
@@ -40,7 +40,7 @@ class CommandNSInfo : public Command
const Anope::string &nick = params[0];
NickAlias *na = findnick(nick);
- bool has_auspex = u->IsIdentified() && u->Account()->HasPriv("nickserv/auspex");
+ bool has_auspex = u->IsIdentified() && u->HasPriv("nickserv/auspex");
if (!na)
{
@@ -71,7 +71,7 @@ class CommandNSInfo : public Command
source.Reply(_("%s is %s"), na->nick.c_str(), na->last_realname.c_str());
if (na->nc->IsServicesOper() && (show_hidden || !na->nc->HasFlag(NI_HIDE_STATUS)))
- source.Reply(_("%s is a services operator of type %s."), na->nick.c_str(), na->nc->ot->GetName().c_str());
+ source.Reply(_("%s is a services operator of type %s."), na->nick.c_str(), na->nc->o->ot->GetName().c_str());
if (nick_online)
{