summaryrefslogtreecommitdiff
path: root/src/modules/m_swhois.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2013-04-30 08:38:33 +0100
committerPeter Powell <petpow@saberuk.com>2013-05-15 21:41:36 +0100
commit4ab1c43c1eee708fc50a4808f714a731891b75e8 (patch)
treed9cf047483dd4bf6c21c9465ae51e842ca1e7b50 /src/modules/m_swhois.cpp
parente586aaab7c4f7b03514c83451d73b73f55dc6998 (diff)
Tidy up keywords on module methods.
- Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it.
Diffstat (limited to 'src/modules/m_swhois.cpp')
-rw-r--r--src/modules/m_swhois.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp
index 41721ea40..a00d60960 100644
--- a/src/modules/m_swhois.cpp
+++ b/src/modules/m_swhois.cpp
@@ -90,7 +90,7 @@ class ModuleSWhois : public Module
{
}
- void init()
+ void init() CXX11_OVERRIDE
{
ServerInstance->Modules->AddService(cmd);
ServerInstance->Modules->AddService(cmd.swhois);
@@ -99,7 +99,7 @@ class ModuleSWhois : public Module
}
// :kenny.chatspike.net 320 Brain Azhrarn :is getting paid to play games.
- ModResult OnWhoisLine(User* user, User* dest, int &numeric, std::string &text)
+ ModResult OnWhoisLine(User* user, User* dest, int &numeric, std::string &text) CXX11_OVERRIDE
{
/* We use this and not OnWhois because this triggers for remote, too */
if (numeric == 312)
@@ -116,7 +116,7 @@ class ModuleSWhois : public Module
return MOD_RES_PASSTHRU;
}
- void OnPostOper(User* user, const std::string &opertype, const std::string &opername)
+ void OnPostOper(User* user, const std::string &opertype, const std::string &opername) CXX11_OVERRIDE
{
if (!IS_LOCAL(user))
return;
@@ -130,7 +130,7 @@ class ModuleSWhois : public Module
ServerInstance->PI->SendMetaData(user, "swhois", swhois);
}
- Version GetVersion()
+ Version GetVersion() CXX11_OVERRIDE
{
return Version("Provides the SWHOIS command which allows setting of arbitrary WHOIS lines", VF_OPTCOMMON | VF_VENDOR);
}