]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_botmode.cpp
Decide that it wasn't quite appropriate :(
[user/henk/code/inspircd.git] / src / modules / m_botmode.cpp
index d8d0a8f29c4af53a07af69d38076cec11450f861..04204b42ece8e54b79c46a7b3e2ca4518a764246 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  Inspire is copyright (C) 2002-2004 ChatSpike-Dev.
+ *  InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
  *                       E-mail:
  *                <brain@chatspike.net>
  *               <Craig@chatspike.net>
@@ -36,10 +36,14 @@ class ModuleBotMode : public Module
                if (!Srv->AddExtendedMode('B',MT_CLIENT,false,0,0))
                {
                        Srv->Log(DEFAULT,"*** m_botmode: ERROR, failed to allocate user mode +B!");
-                       printf("Could not claim usermode +B for this module!");
                        return;
                }
        }
+
+       void Implements(char* List)
+       {
+               List[I_OnWhois] = List[I_OnExtendedMode] = 1;
+       }
        
        virtual ~ModuleBotMode()
        {