summaryrefslogtreecommitdiff
path: root/modules/encryption/enc_none.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/encryption/enc_none.cpp')
-rw-r--r--modules/encryption/enc_none.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/encryption/enc_none.cpp b/modules/encryption/enc_none.cpp
index 9496939fd..4854e5eb0 100644
--- a/modules/encryption/enc_none.cpp
+++ b/modules/encryption/enc_none.cpp
@@ -43,7 +43,7 @@ class ENone : 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;
@@ -63,7 +63,7 @@ class ENone : 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);
}
}