]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_satopic.cpp
Purge the old chanlog code from the module file.
[user/henk/code/inspircd.git] / src / modules / m_satopic.cpp
index 3a883421adbe2bd6e4dad1460a4c4c9ea6bc8abc..c15c9e91bcb4e2e911e509c108f36b5d3240fc21 100644 (file)
@@ -65,16 +65,12 @@ class ModuleSATopic : public Module
        {
        }
 
-       void init()
+       void init() CXX11_OVERRIDE
        {
-               ServerInstance->AddCommand(&cmd);
+               ServerInstance->Modules->AddService(cmd);
        }
 
-       virtual ~ModuleSATopic()
-       {
-       }
-
-       virtual Version GetVersion()
+       Version GetVersion() CXX11_OVERRIDE
        {
                return Version("Provides a SATOPIC command", VF_VENDOR);
        }