aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_conn_join.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2019-01-25 02:52:11 +0000
committerGravatar Sadie Powell2019-01-25 02:52:11 +0000
commitc78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8 (patch)
tree4d7b4e6135e4b8340698419a83bc29edec18a5ea /src/modules/m_conn_join.cpp
parentRemove the DEPRECATED_METHOD macro. (diff)
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_conn_join.cpp')
-rw-r--r--src/modules/m_conn_join.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/m_conn_join.cpp b/src/modules/m_conn_join.cpp
index 7a06aedd3..585d71925 100644
--- a/src/modules/m_conn_join.cpp
+++ b/src/modules/m_conn_join.cpp
@@ -49,7 +49,7 @@ class JoinTimer : public Timer
ServerInstance->Timers.AddTimer(this);
}
- bool Tick(time_t time) CXX11_OVERRIDE
+ bool Tick(time_t time) override
{
if (user->chans.empty())
JoinChannels(user, channels);
@@ -71,24 +71,24 @@ class ModuleConnJoin : public Module
{
}
- void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE
+ void ReadConfig(ConfigStatus& status) override
{
ConfigTag* tag = ServerInstance->Config->ConfValue("autojoin");
defchans = tag->getString("channel");
defdelay = tag->getDuration("delay", 0, 0, 60);
}
- void Prioritize() CXX11_OVERRIDE
+ void Prioritize() override
{
ServerInstance->Modules->SetPriority(this, I_OnPostConnect, PRIORITY_LAST);
}
- Version GetVersion() CXX11_OVERRIDE
+ Version GetVersion() override
{
return Version("Forces users to join the specified channel(s) on connect", VF_VENDOR);
}
- void OnPostConnect(User* user) CXX11_OVERRIDE
+ void OnPostConnect(User* user) override
{
LocalUser* localuser = IS_LOCAL(user);
if (!localuser)