1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 12:53:11 +02:00

Add the anope_override keyword to methods that lack it.

This commit is contained in:
Sadie Powell
2021-04-27 21:41:19 +01:00
parent c00ecc5e02
commit 095a25d473
11 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -495,14 +495,14 @@ class NickServCore : public Module, public NickServService
"after %d days if not used."), nickserv_expire / 86400);
}
void OnNickCoreCreate(NickCore *nc)
void OnNickCoreCreate(NickCore *nc) anope_override
{
/* Set default flags */
for (unsigned i = 0; i < defaults.size(); ++i)
nc->Extend<bool>(defaults[i].upper());
}
void OnUserQuit(User *u, const Anope::string &msg)
void OnUserQuit(User *u, const Anope::string &msg) anope_override
{
if (u->server && !u->server->GetQuitReason().empty() && Config->GetModule(this)->Get<bool>("hidenetsplitquit"))
return;