1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 08:53:12 +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
@@ -194,7 +194,7 @@ class ESHA1 : 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;
@@ -211,7 +211,7 @@ class ESHA1 : public Module
if (nc->pass.equals_cs(buf))
{
if (ModuleManager::FindFirstOf(ENCRYPTION) != this)
enc_encrypt(req->GetPassword(), nc->pass);
Anope::Encrypt(req->GetPassword(), nc->pass);
req->Success(this);
}
}