1
0
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:
Adam
2012-11-22 00:50:33 -05:00
parent 368d469631
commit d33a0f75a5
303 changed files with 7880 additions and 9388 deletions
+2 -2
View File
@@ -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);
}
}