]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_watch.cpp
Change 974 numeric to 490 to avoid collision with Insp's failed to load module error
[user/henk/code/inspircd.git] / src / modules / m_watch.cpp
index 1a8d6a6589a75e29bda31424d0515a7e8242071f..a852db9c4425bf5366f040e5751715779af6064e 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>
@@ -199,6 +199,11 @@ class Modulewatch : public Module
                Srv->AddCommand(mycommand);
        }
 
+       void Implements(char* List)
+       {
+               List[I_OnUserQuit] = List[I_OnGlobalConnect] = List[I_OnUserPostNick] = List[I_On005Numeric] = 1;
+       }
+
        virtual void OnUserQuit(userrec* user, std::string reason)
        {
                log(DEBUG,"*** WATCH: On global quit: user %s",user->nick);