]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sethost.cpp
Should now work with ports bound to all interfaces
[user/henk/code/inspircd.git] / src / modules / m_sethost.cpp
index 2410f4140062bb619d09292de25b401f59579734..981efbbd810a7c77cba114834b89c03975bcf735 100644 (file)
@@ -29,7 +29,7 @@ class CommandSethost : public Command
                TRANSLATE2(TR_TEXT, TR_END);
        }
 
-       CmdResult Handle (const char** parameters, int pcnt, User *user)
+       CmdResult Handle (const char* const* parameters, int pcnt, User *user)
        {
                size_t len = 0;
                for (const char* x = parameters[0]; *x; x++, len++)
@@ -96,7 +96,7 @@ class ModuleSetHost : public Module
        
        virtual Version GetVersion()
        {
-               return Version(1, 1, 0, 1, VF_COMMON | VF_VENDOR, API_VERSION);
+               return Version(1, 2, 0, 1, VF_COMMON | VF_VENDOR, API_VERSION);
        }
        
 };