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_vhost.cpp | |
| parent | Remove the DEPRECATED_METHOD macro. (diff) | |
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_vhost.cpp')
| -rw-r--r-- | src/modules/m_vhost.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_vhost.cpp b/src/modules/m_vhost.cpp index 478a5100a..df8ca73ae 100644 --- a/src/modules/m_vhost.cpp +++ b/src/modules/m_vhost.cpp @@ -59,7 +59,7 @@ class CommandVhost : public Command syntax = "<username> <password>"; } - CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE + CmdResult Handle(User* user, const Params& parameters) override { MatchingConfigs matching = vhosts.equal_range(parameters[0]); @@ -89,7 +89,7 @@ class ModuleVHost : public Module { } - void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE + void ReadConfig(ConfigStatus& status) override { CustomVhostMap newhosts; ConfigTagList tags = ServerInstance->Config->ConfTags("vhost"); @@ -114,7 +114,7 @@ class ModuleVHost : public Module cmd.vhosts.swap(newhosts); } - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Provides masking of user hostnames via traditional /VHOST command", VF_VENDOR); } |
