aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_alltime.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2019-01-25 02:52:11 +0000
committerGravatar Sadie Powell2019-01-25 02:52:11 +0000
commitc78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8 (patch)
tree4d7b4e6135e4b8340698419a83bc29edec18a5ea /src/modules/m_alltime.cpp
parentRemove the DEPRECATED_METHOD macro. (diff)
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_alltime.cpp')
-rw-r--r--src/modules/m_alltime.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_alltime.cpp b/src/modules/m_alltime.cpp
index 486ad1c18..218af1ab5 100644
--- a/src/modules/m_alltime.cpp
+++ b/src/modules/m_alltime.cpp
@@ -29,7 +29,7 @@ class CommandAlltime : public Command
flags_needed = 'o';
}
- CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE
+ CmdResult Handle(User* user, const Params& parameters) override
{
const std::string fmtdate = InspIRCd::TimeString(ServerInstance->Time(), "%Y-%m-%d %H:%M:%S", true);
@@ -41,7 +41,7 @@ class CommandAlltime : public Command
return CMD_SUCCESS;
}
- RouteDescriptor GetRouting(User* user, const Params& parameters) CXX11_OVERRIDE
+ RouteDescriptor GetRouting(User* user, const Params& parameters) override
{
return ROUTE_OPT_BCAST;
}
@@ -56,7 +56,7 @@ class Modulealltime : public Module
{
}
- Version GetVersion() CXX11_OVERRIDE
+ Version GetVersion() override
{
return Version("Display timestamps from all servers connected to the network", VF_OPTCOMMON | VF_VENDOR);
}