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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/encryption/enc_old.cpp b/modules/encryption/enc_old.cpp
index b5ce86540..f7c83515d 100644
--- a/modules/encryption/enc_old.cpp
+++ b/modules/encryption/enc_old.cpp
@@ -351,7 +351,7 @@ class EOld : public Module
void OnCheckAuthentication(User *, IdentifyRequest *req) anope_override
{
- const NickAlias *na = findnick(req->GetAccount());
+ const NickAlias *na = NickAlias::Find(req->GetAccount());
if (na == NULL)
return;
NickCore *nc = na->nc;
@@ -371,7 +371,7 @@ class EOld : public Module
* we want to re-encrypt the pass with the new encryption
*/
if (ModuleManager::FindFirstOf(ENCRYPTION) != this)
- enc_encrypt(req->GetPassword(), nc->pass);
+ Anope::Encrypt(req->GetPassword(), nc->pass);
req->Success(this);
}
}