summaryrefslogtreecommitdiff
path: root/src/modules/m_watch.cpp
diff options
context:
space:
mode:
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);