aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_xline_db.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_xline_db.cpp
parentRemove the DEPRECATED_METHOD macro. (diff)
downloadinspircd++-c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8.tar.gz
inspircd++-c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8.tar.bz2
inspircd++-c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8.zip
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_xline_db.cpp')
-rw-r--r--src/modules/m_xline_db.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/m_xline_db.cpp b/src/modules/m_xline_db.cpp
index 90f9de9d2..9d9c9e431 100644
--- a/src/modules/m_xline_db.cpp
+++ b/src/modules/m_xline_db.cpp
@@ -27,7 +27,7 @@ class ModuleXLineDB : public Module
bool dirty;
std::string xlinedbpath;
public:
- void init() CXX11_OVERRIDE
+ void init() override
{
/* Load the configuration
* Note:
@@ -49,7 +49,7 @@ class ModuleXLineDB : public Module
* @param source The sender of the line or NULL for local server
* @param line The xline being added
*/
- void OnAddLine(User* source, XLine* line) CXX11_OVERRIDE
+ void OnAddLine(User* source, XLine* line) override
{
dirty = true;
}
@@ -59,12 +59,12 @@ class ModuleXLineDB : public Module
* @param source The user removing the line or NULL for local server
* @param line the line being deleted
*/
- void OnDelLine(User* source, XLine* line) CXX11_OVERRIDE
+ void OnDelLine(User* source, XLine* line) override
{
dirty = true;
}
- void OnBackgroundTimer(time_t now) CXX11_OVERRIDE
+ void OnBackgroundTimer(time_t now) override
{
if (dirty)
{
@@ -210,7 +210,7 @@ class ModuleXLineDB : public Module
return true;
}
- Version GetVersion() CXX11_OVERRIDE
+ Version GetVersion() override
{
return Version("Keeps a dynamic log of all XLines created, and stores them in a separate conf file (xline.db).", VF_VENDOR);
}