From c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 25 Jan 2019 02:52:11 +0000 Subject: Replace the override macro with the override keyword. --- src/modules/m_restrictchans.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_restrictchans.cpp') 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); } -- cgit v1.3.1-10-gc9f91