diff options
Diffstat (limited to 'src/modules/m_restrictchans.cpp')
| -rw-r--r-- | src/modules/m_restrictchans.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_restrictchans.cpp b/src/modules/m_restrictchans.cpp index 853b6b75c..ed31530aa 100644 --- a/src/modules/m_restrictchans.cpp +++ b/src/modules/m_restrictchans.cpp @@ -54,7 +54,7 @@ class ModuleRestrictChans : public Module { } - void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE + void ReadConfig(ConfigStatus& status) override { AllowChans newallows; ConfigTagList tags = ServerInstance->Config->ConfTags("allowchannel"); @@ -73,7 +73,7 @@ class ModuleRestrictChans : public Module allowregistered = tag->getBool("allowregistered", false); } - ModResult OnUserPreJoin(LocalUser* user, Channel* chan, const std::string& cname, std::string& privs, const std::string& keygiven) CXX11_OVERRIDE + ModResult OnUserPreJoin(LocalUser* user, Channel* chan, const std::string& cname, std::string& privs, const std::string& keygiven) override { // channel does not yet exist (record is null, about to be created IF we were to allow it) if (!chan && !CanCreateChannel(user, cname)) @@ -82,7 +82,7 @@ class ModuleRestrictChans : public Module return MOD_RES_PASSTHRU; } - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Allows restricting who can create channels", VF_VENDOR); } |
