]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_tline.cpp
m_cap Convert capability names in CAP REQ to lowercase before processing them
[user/henk/code/inspircd.git] / src / modules / m_tline.cpp
index 554a12861f2d02bfbb4a9b97d69bb25fb1cf7f49..cf5814fd185eae0f21de96df4e6273c9d5036702 100644 (file)
@@ -20,8 +20,6 @@
 
 #include "inspircd.h"
 
-/* $ModDesc: Provides /tline command used to test who a mask matches */
-
 /** Handle /TLINE
  */
 class CommandTline : public Command
@@ -72,20 +70,13 @@ class ModuleTLine : public Module
  public:
        ModuleTLine()
                : cmd(this)
-       {
-               ServerInstance->AddCommand(&cmd);
-       }
-
-
-       virtual ~ModuleTLine()
        {
        }
 
-       virtual Version GetVersion()
+       Version GetVersion() CXX11_OVERRIDE
        {
                return Version("Provides /tline command used to test who a mask matches", VF_VENDOR);
        }
 };
 
 MODULE_INIT(ModuleTLine)
-