]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_testcommand.cpp
fix little typo in syntax hint, type => action
[user/henk/code/inspircd.git] / src / modules / m_testcommand.cpp
index b38171593d34ed4c7a94a972bbaa13aea3614afc..a52fcc50765e0949ee3ce82a2249f655fd930aef 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
  * See: http://www.inspircd.org/wiki/index.php/Credits
  *
  * This program is free but copyrighted software; see
@@ -28,7 +28,7 @@ class CommandDalinfo : public Command
 
        CmdResult Handle (const std::vector<std::string> &parameters, User *user)
        {
-               user->WriteServ("NOTICE %s :*** DALNet had nothing to do with it.", user->nick);
+               user->WriteServ("NOTICE %s :*** DALNet had nothing to do with it.", user->nick.c_str());
                return CMD_FAILURE;
        }
 };
@@ -53,7 +53,7 @@ class ModuleTestCommand : public Module
 
        virtual Version GetVersion()
        {
-               return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);
+               return Version("$Id$", VF_VENDOR, API_VERSION);
        }
 };