]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_tline.cpp
Fix some of the include guard names (requested by SaberUK)
[user/henk/code/inspircd.git] / src / modules / m_tline.cpp
index b08d5b6c0dea0f9a49eec99971697990c9006130..78c90f68c3f571faaf441cef89863f07b30b69b3 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2010 InspIRCd Development Team
  * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
@@ -20,9 +20,9 @@
 class CommandTline : public Command
 {
  public:
-       CommandTline (InspIRCd* Instance, Module* Creator) : Command(Instance, Creator,"TLINE", "o", 1)
+       CommandTline(Module* Creator) : Command(Creator,"TLINE", 1)
        {
-               this->syntax = "<mask>";
+               flags_needed = 'o'; this->syntax = "<mask>";
        }
 
        CmdResult Handle (const std::vector<std::string> &parameters, User *user)
@@ -63,8 +63,8 @@ class ModuleTLine : public Module
 {
        CommandTline cmd;
  public:
-       ModuleTLine(InspIRCd* Me)
-               : Module(Me), cmd(Me, this)
+       ModuleTLine()
+               : cmd(this)
        {
                ServerInstance->AddCommand(&cmd);
        }
@@ -76,7 +76,7 @@ class ModuleTLine : public Module
 
        virtual Version GetVersion()
        {
-               return Version("$Id$", VF_VENDOR,API_VERSION);
+               return Version("Provides /tline command used to test who a mask matches", VF_VENDOR);
        }
 };