]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_testcommand.cpp
Mention ulines too
[user/henk/code/inspircd.git] / src / modules / m_testcommand.cpp
index 0cf5bbcd28fc3fca87bd1eab2120bafb19392703..f3eff2878db9b075c620e4c564bc627f3dafa7f6 100644 (file)
@@ -26,9 +26,9 @@ class CommandDalinfo : public Command
                this->source = "m_testcommand.so";
        }
 
-       CmdResult Handle (const char** parameters, int pcnt, User *user)
+       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, 1, 0, 0, VF_VENDOR, API_VERSION);
+               return Version("$Id$", VF_VENDOR, API_VERSION);
        }
 };