diff options
| author | 2019-01-25 02:52:11 +0000 | |
|---|---|---|
| committer | 2019-01-25 02:52:11 +0000 | |
| commit | c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8 (patch) | |
| tree | 4d7b4e6135e4b8340698419a83bc29edec18a5ea /src/modules/m_allowinvite.cpp | |
| parent | Remove the DEPRECATED_METHOD macro. (diff) | |
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_allowinvite.cpp')
| -rw-r--r-- | src/modules/m_allowinvite.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_allowinvite.cpp b/src/modules/m_allowinvite.cpp index 41edbc855..feb521f02 100644 --- a/src/modules/m_allowinvite.cpp +++ b/src/modules/m_allowinvite.cpp @@ -29,12 +29,12 @@ class ModuleAllowInvite : public Module { } - void On005Numeric(std::map<std::string, std::string>& tokens) CXX11_OVERRIDE + void On005Numeric(std::map<std::string, std::string>& tokens) override { tokens["EXTBAN"].push_back('A'); } - ModResult OnUserPreInvite(User* user,User* dest,Channel* channel, time_t timeout) CXX11_OVERRIDE + ModResult OnUserPreInvite(User* user,User* dest,Channel* channel, time_t timeout) override { if (IS_LOCAL(user)) { @@ -55,7 +55,7 @@ class ModuleAllowInvite : public Module return MOD_RES_PASSTHRU; } - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Provides support for channel mode +A, allowing /invite freely on a channel and extban A to deny specific users it",VF_VENDOR); } |
