summaryrefslogtreecommitdiff
path: root/src/modules/m_nicklock.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-07-12 14:41:52 +0100
committerPeter Powell <petpow@saberuk.com>2017-07-12 14:41:52 +0100
commitd1df2bce56275e1297d94d82d4dbef6f6cf582b6 (patch)
tree3b968cb8a2b3b90b74ae0633e2a4a7fa04782d8e /src/modules/m_nicklock.cpp
parentf471083cd0519d47c7c7a09029813ede41994f7b (diff)
Add CXX11_OVERRIDE to overridden members that lack it.
This fixes a ton of warnings when building on compilers that default to C++11 or newer.
Diffstat (limited to 'src/modules/m_nicklock.cpp')
-rw-r--r--src/modules/m_nicklock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp
index 35845c8d8..6e22a69bb 100644
--- a/src/modules/m_nicklock.cpp
+++ b/src/modules/m_nicklock.cpp
@@ -157,7 +157,7 @@ class ModuleNickLock : public Module
return MOD_RES_PASSTHRU;
}
- void Prioritize()
+ void Prioritize() CXX11_OVERRIDE
{
Module *nflood = ServerInstance->Modules->Find("m_nickflood.so");
ServerInstance->Modules->SetPriority(this, I_OnUserPreNick, PRIORITY_BEFORE, nflood);