mirror of
https://github.com/anope/anope.git
synced 2026-07-02 12:53:13 +02:00
Replace anope_{final,override} with their C++11 equivalent.
This commit is contained in:
@@ -18,7 +18,7 @@ class ENone : public Module
|
||||
throw ModuleException("enc_none is deprecated and can not be used as a primary encryption method");
|
||||
}
|
||||
|
||||
EventReturn OnEncrypt(const Anope::string &src, Anope::string &dest) anope_override
|
||||
EventReturn OnEncrypt(const Anope::string &src, Anope::string &dest) override
|
||||
{
|
||||
Anope::string buf = "plain:";
|
||||
Anope::string cpass;
|
||||
@@ -29,7 +29,7 @@ class ENone : 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)
|
||||
|
||||
Reference in New Issue
Block a user