]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_botmode.cpp
Note to self, cast time_t to long int for printf... thanks Ankit for pointing this...
[user/henk/code/inspircd.git] / src / modules / m_botmode.cpp
index 7cc0504038630ad9d22d94e1ae6e9932ecad152a..1fe3728ee29a2a2973b9416b68229f90c5ae8a2f 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
  * See: http://www.inspircd.org/wiki/index.php/Credits
  *
  * This program is free but copyrighted software; see
@@ -25,13 +25,13 @@ class BotMode : public SimpleUserModeHandler
 
 class ModuleBotMode : public Module
 {
-       
+
        BotMode* bm;
  public:
        ModuleBotMode(InspIRCd* Me)
                : Module(Me)
        {
-               
+
                bm = new BotMode(ServerInstance);
                if (!ServerInstance->Modes->AddMode(bm))
                        throw ModuleException("Could not add new modes!");
@@ -39,16 +39,16 @@ class ModuleBotMode : public Module
                ServerInstance->Modules->Attach(eventlist, this, 1);
        }
 
-       
+
        virtual ~ModuleBotMode()
        {
                ServerInstance->Modes->DelMode(bm);
                delete bm;
        }
-       
+
        virtual Version GetVersion()
        {
-               return Version(1,2,0,0,VF_COMMON|VF_VENDOR,API_VERSION);
+               return Version("$Id$",VF_COMMON|VF_VENDOR,API_VERSION);
        }
 
        virtual void OnWhois(User* src, User* dst)