aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_watch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_watch.cpp')
-rw-r--r--src/modules/m_watch.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp
index af3f9a2c5..7916b7f7d 100644
--- a/src/modules/m_watch.cpp
+++ b/src/modules/m_watch.cpp
@@ -219,7 +219,8 @@ class ModuleWatch
public:
ModuleWatch()
- : Away::EventListener(this)
+ : Module(VF_VENDOR, "Provides WATCH support")
+ , Away::EventListener(this)
, ISupport::EventListener(this)
, manager(this, "watch")
, cmd(this, manager)
@@ -269,11 +270,6 @@ class ModuleWatch
{
tokens["WATCH"] = ConvToStr(cmd.maxwatch);
}
-
- Version GetVersion() override
- {
- return Version("Provides WATCH support", VF_VENDOR);
- }
};
MODULE_INIT(ModuleWatch)