]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_setident.cpp
Convert more modules
[user/henk/code/inspircd.git] / src / modules / m_setident.cpp
index d1f67bb1400a07bc088c8395cbb1d620e363d55b..5122781f18156897362e3619870a4c3f3c43e30a 100644 (file)
@@ -1,9 +1,24 @@
+/*       +------------------------------------+
+ *       | Inspire Internet Relay Chat Daemon |
+ *       +------------------------------------+
+ *
+ *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ * See: http://www.inspircd.org/wiki/index.php/Credits
+ *
+ * This program is free but copyrighted software; see
+ *            the file COPYING for details.
+ *
+ * ---------------------------------------------------
+ */
+
+#include "inspircd.h"
 #include "users.h"
 #include "modules.h"
-#include "inspircd.h"
 
 /* $ModDesc: Provides support for the SETIDENT command */
 
+/** Handle /SETIDENT
+ */
 class cmd_setident : public command_t
 {
  public:
@@ -43,7 +58,7 @@ class ModuleSetIdent : public Module
        cmd_setident*   mycommand;
        
  public:
-       ModuleSetIdent(InspIRCd* Me) : Module::Module(Me)
+       ModuleSetIdent(InspIRCd* Me) : Module(Me)
        {
                
                mycommand = new cmd_setident(ServerInstance);
@@ -56,7 +71,7 @@ class ModuleSetIdent : public Module
        
        virtual Version GetVersion()
        {
-               return Version(1,0,0,0,VF_VENDOR,API_VERSION);
+               return Version(1,1,0,0,VF_VENDOR,API_VERSION);
        }
        
 };
@@ -82,7 +97,7 @@ class ModuleSetIdentFactory : public ModuleFactory
 };
 
 
-extern "C" void * init_module( void )
+extern "C" DllExport void * init_module( void )
 {
        return new ModuleSetIdentFactory;
 }