mirror of
https://github.com/anope/anope.git
synced 2026-07-01 09:16:37 +02:00
Pretty large coding style cleanup, in source doc
cleanup, and allow protocol mods to depend on each other
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user