aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_xline_db.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2013-05-15 13:48:02 -0700
committerGravatar Attila Molnar2013-05-15 13:48:02 -0700
commit4b41feea830fc84e8c1b2fd0982f3e8d8840af96 (patch)
treed9cf047483dd4bf6c21c9465ae51e842ca1e7b50 /src/modules/m_xline_db.cpp
parentMerge pull request #531 from SaberUK/master+snprintf-removal (diff)
parentTidy up keywords on module methods. (diff)
Merge pull request #514 from SaberUK/master+virtual-cleanup
Remove virtual keyword from a ton of methods which don't need it, introduce CXX11_OVERRIDE.
Diffstat (limited to 'src/modules/m_xline_db.cpp')
-rw-r--r--src/modules/m_xline_db.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/m_xline_db.cpp b/src/modules/m_xline_db.cpp
index 0c23527ee..020095f7c 100644
--- a/src/modules/m_xline_db.cpp
+++ b/src/modules/m_xline_db.cpp
@@ -30,7 +30,7 @@ class ModuleXLineDB : public Module
bool dirty;
std::string xlinedbpath;
public:
- void init()
+ void init() CXX11_OVERRIDE
{
/* Load the configuration
* Note:
@@ -54,7 +54,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)
+ void OnAddLine(User* source, XLine* line) CXX11_OVERRIDE
{
dirty = true;
}
@@ -64,17 +64,17 @@ 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)
+ void OnDelLine(User* source, XLine* line) CXX11_OVERRIDE
{
dirty = true;
}
- void OnExpireLine(XLine *line)
+ void OnExpireLine(XLine *line) CXX11_OVERRIDE
{
dirty = true;
}
- void OnBackgroundTimer(time_t now)
+ void OnBackgroundTimer(time_t now) CXX11_OVERRIDE
{
if (dirty)
{
@@ -252,7 +252,7 @@ class ModuleXLineDB : public Module
return true;
}
- virtual Version GetVersion()
+ Version GetVersion() CXX11_OVERRIDE
{
return Version("Keeps a dynamic log of all XLines created, and stores them in a separate conf file (xline.db).", VF_VENDOR);
}