summaryrefslogtreecommitdiff
path: root/modules/encryption/enc_md5.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-11-22 00:50:33 -0500
committerAdam <Adam@anope.org>2012-11-22 00:50:33 -0500
commitd33a0f75a5c0c584fbb7cc0076da36d494f39494 (patch)
tree7b2274cc833c793c0f5595660cbd4d715de52ffd /modules/encryption/enc_md5.cpp
parent368d469631763e9c8bf399980d0ac7c5b5664d39 (diff)
Pretty large coding style cleanup, in source doc
cleanup, and allow protocol mods to depend on each other
Diffstat (limited to 'modules/encryption/enc_md5.cpp')
-rw-r--r--modules/encryption/enc_md5.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/encryption/enc_md5.cpp b/modules/encryption/enc_md5.cpp
index bcbe4aeed..45c7f3df5 100644
--- a/modules/encryption/enc_md5.cpp
+++ b/modules/encryption/enc_md5.cpp
@@ -341,7 +341,7 @@ class EMD5 : 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;
@@ -361,7 +361,7 @@ class EMD5 : 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);
}
}