summaryrefslogtreecommitdiff
path: root/modules/commands/hs_del.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-05-28 12:07:29 -0400
committerAdam <Adam@anope.org>2014-05-28 12:07:54 -0400
commitf29e1cf383529a1a29f02b0669d973f5ee0b7a66 (patch)
tree3c33db276dc9328235bbd572641521ed44458176 /modules/commands/hs_del.cpp
parent1253c70e0682fa1490c99c3d2869049a0e3fa2e0 (diff)
Move most of the core pseudoclient logic to modules
Diffstat (limited to 'modules/commands/hs_del.cpp')
-rw-r--r--modules/commands/hs_del.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/hs_del.cpp b/modules/commands/hs_del.cpp
index ae0e2e6c2..d527c772b 100644
--- a/modules/commands/hs_del.cpp
+++ b/modules/commands/hs_del.cpp
@@ -32,7 +32,7 @@ class CommandHSDel : public Command
}
const Anope::string &nick = params[0];
- NickAlias *na = NickAlias::Find(nick);
+ NickServ::Nick *na = NickServ::FindNick(nick);
if (na)
{
Log(LOG_ADMIN, source, this) << "for user " << na->nick;
@@ -74,11 +74,11 @@ class CommandHSDelAll : public Command
}
const Anope::string &nick = params[0];
- NickAlias *na = NickAlias::Find(nick);
+ NickServ::Nick *na = NickServ::FindNick(nick);
if (na)
{
this->ondeletevhost(&Event::DeleteVhost::OnDeleteVhost, na);
- const NickCore *nc = na->nc;
+ const NickServ::Account *nc = na->nc;
for (unsigned i = 0; i < nc->aliases->size(); ++i)
{
na = nc->aliases->at(i);