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_inviteexception.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/modules/m_inviteexception.cpp') diff --git a/src/modules/m_inviteexception.cpp b/src/modules/m_inviteexception.cpp index 3f9459d19..eddfec74f 100644 --- a/src/modules/m_inviteexception.cpp +++ b/src/modules/m_inviteexception.cpp @@ -54,12 +54,12 @@ public: { } - void On005Numeric(std::map& tokens) CXX11_OVERRIDE + void On005Numeric(std::map& tokens) override { tokens["INVEX"] = ConvToStr(ie.GetModeChar()); } - ModResult OnCheckInvite(User* user, Channel* chan) CXX11_OVERRIDE + ModResult OnCheckInvite(User* user, Channel* chan) override { ListModeBase::ModeList* list = ie.GetList(chan); if (list) @@ -76,20 +76,20 @@ public: return MOD_RES_PASSTHRU; } - ModResult OnCheckKey(User* user, Channel* chan, const std::string& key) CXX11_OVERRIDE + ModResult OnCheckKey(User* user, Channel* chan, const std::string& key) override { if (invite_bypass_key) return OnCheckInvite(user, chan); return MOD_RES_PASSTHRU; } - void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE + void ReadConfig(ConfigStatus& status) override { ie.DoRehash(); invite_bypass_key = ServerInstance->Config->ConfValue("inviteexception")->getBool("bypasskey", true); } - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Provides support for the +I channel mode", VF_VENDOR); } -- cgit v1.3.1-10-gc9f91