1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 14:23:11 +02:00

Replace anope_{final,override} with their C++11 equivalent.

This commit is contained in:
Sadie Powell
2022-01-03 16:50:06 +00:00
parent d76d747196
commit a5f7aac295
202 changed files with 1517 additions and 1528 deletions
+4 -4
View File
@@ -19,14 +19,14 @@ class OldMD5Provider : public Encryption::Provider
public:
OldMD5Provider(Module *creator) : Encryption::Provider(creator, "oldmd5") { }
Encryption::Context *CreateContext(Encryption::IV *iv) anope_override
Encryption::Context *CreateContext(Encryption::IV *iv) override
{
if (md5)
return md5->CreateContext(iv);
return NULL;
}
Encryption::IV GetDefaultIV() anope_override
Encryption::IV GetDefaultIV() override
{
if (md5)
return md5->GetDefaultIV();
@@ -53,7 +53,7 @@ class EOld : public Module
}
EventReturn OnEncrypt(const Anope::string &src, Anope::string &dest) anope_override
EventReturn OnEncrypt(const Anope::string &src, Anope::string &dest) override
{
if (!md5)
return EVENT_CONTINUE;
@@ -81,7 +81,7 @@ class EOld : public Module
return EVENT_ALLOW;
}
void OnCheckAuthentication(User *, IdentifyRequest *req) anope_override
void OnCheckAuthentication(User *, IdentifyRequest *req) override
{
const NickAlias *na = NickAlias::Find(req->GetAccount());
if (na == NULL)