]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sethost.cpp
Updated to keep lowermap const within hashcomp.cpp
[user/henk/code/inspircd.git] / src / modules / m_sethost.cpp
index ba5e3319bb91908dfb0f95184c4533ed1b35346b..0afffd6c15220f6d2d262c7f098a4da3323deae4 100644 (file)
@@ -19,6 +19,7 @@
 #include "users.h"
 #include "channels.h"
 #include "modules.h"
+#include "helperfuncs.h"
 
 /* $ModDesc: Provides support for the SETHOST command */
 
@@ -48,7 +49,7 @@ class ModuleSetHost : public Module
        ModuleSetHost()
        {
                Srv = new Server;
-               Srv->AddCommand("SETHOST",handle_sethost,'o',1);
+               Srv->AddCommand("SETHOST",handle_sethost,'o',1,"m_sethost.so");
        }
        
        virtual ~ModuleSetHost()
@@ -58,7 +59,7 @@ class ModuleSetHost : public Module
        
        virtual Version GetVersion()
        {
-               return Version(1,0,0,0);
+               return Version(1,0,0,1,VF_VENDOR);
        }
        
 };