]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_close.cpp
Fix IO hooking modules to use the new (not old) hooking call
[user/henk/code/inspircd.git] / src / modules / m_close.cpp
index 016bfe2697756e74700e0fd61a4d06d8c79cb70d..e8e176296f82b499c2dfb39cd9a404064fa3073c 100644 (file)
@@ -1,8 +1,18 @@
 /*       +------------------------------------+
- *       | UnrealIRCd v4.0                    |
+ *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- * UnrealIRCd 4.0 (C) 2008 Carsten Valdemar Munk 
+ *  InspIRCd: (C) 2002-2008 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.
+ *
+ * ---------------------------------------------------
+ *
+ * Based on the UnrealIRCd 4.0 (1.1.x fork) module
+ *
+ * UnrealIRCd 4.0 (C) 2007 Carsten Valdemar Munk
  * This program is free but copyrighted software; see
  *            the file COPYING for details.
  *
@@ -48,7 +58,7 @@ class CommandClose : public Command
                        user->WriteServ("NOTICE %s :*** %i unknown connection%s closed",user->nick.c_str(),total,(total>1)?"s":"");
                else
                        user->WriteServ("NOTICE %s :*** No unknown connections found",user->nick.c_str());
-                       
+
                return CMD_LOCALONLY;
        }
 };
@@ -72,7 +82,7 @@ class ModuleClose : public Module
 
        virtual Version GetVersion()
        {
-               return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);
+               return Version("$Id$", VF_VENDOR, API_VERSION);
        }
 };