summaryrefslogtreecommitdiff
path: root/modules/encryption/enc_old.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/encryption/enc_old.cpp')
-rw-r--r--modules/encryption/enc_old.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/encryption/enc_old.cpp b/modules/encryption/enc_old.cpp
index 671921c72..f36b2236b 100644
--- a/modules/encryption/enc_old.cpp
+++ b/modules/encryption/enc_old.cpp
@@ -85,12 +85,12 @@ class EOld : public Module
return EVENT_ALLOW;
}
- void OnCheckAuthentication(User *, IdentifyRequest *req) override
+ void OnCheckAuthentication(User *, NickServ::IdentifyRequest *req) override
{
- const NickAlias *na = NickAlias::Find(req->GetAccount());
+ const NickServ::Nick *na = NickServ::FindNick(req->GetAccount());
if (na == NULL)
return;
- NickCore *nc = na->nc;
+ NickServ::Account *nc = na->nc;
size_t pos = nc->pass.find(':');
if (pos == Anope::string::npos)