]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_testcommand.cpp
Patch to fix timedbans crash reported earlier today, thanks for the headsup wonderwal
[user/henk/code/inspircd.git] / src / modules / m_testcommand.cpp
index 0cf5bbcd28fc3fca87bd1eab2120bafb19392703..bce148adcd548db1a1ead85e5d9a720046e95f54 100644 (file)
@@ -26,7 +26,7 @@ class CommandDalinfo : public Command
                this->source = "m_testcommand.so";
        }
 
-       CmdResult Handle (const char** parameters, int pcnt, User *user)
+       CmdResult Handle (const char* const* parameters, int pcnt, User *user)
        {
                user->WriteServ("NOTICE %s :*** DALNet had nothing to do with it.", user->nick);
                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(1, 2, 0, 0, VF_VENDOR, API_VERSION);
        }
 };