summaryrefslogtreecommitdiff
path: root/src/modules/m_watch.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-26 21:28:05 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-26 21:28:05 +0000
commit53e521785f75f9a3f8be7f8110a8af65fcaff410 (patch)
tree3bf77d9a15ef786e1605c6e9887f902b71f0ea3a /src/modules/m_watch.cpp
parentb9e643261230d3b71517b0bc631c3b306e7246fa (diff)
Last set converted to 'Implements'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2667 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_watch.cpp')
-rw-r--r--src/modules/m_watch.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp
index 1a8d6a658..f35ae4278 100644
--- a/src/modules/m_watch.cpp
+++ b/src/modules/m_watch.cpp
@@ -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);