From ef897559824f0607786ed79cc862c02b2b0520b9 Mon Sep 17 00:00:00 2001 From: special Date: Thu, 24 Aug 2006 18:02:46 +0000 Subject: Renamed the OnGlobalConnect callback to OnPostConnect, which is much more appropriate git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5010 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_watch.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_watch.cpp') diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp index 450d9470c..a8b50d025 100644 --- a/src/modules/m_watch.cpp +++ b/src/modules/m_watch.cpp @@ -222,7 +222,7 @@ class Modulewatch : public Module void Implements(char* List) { - List[I_OnUserQuit] = List[I_OnGlobalConnect] = List[I_OnUserPostNick] = List[I_On005Numeric] = 1; + List[I_OnUserQuit] = List[I_OnPostConnect] = List[I_OnUserPostNick] = List[I_On005Numeric] = 1; } virtual void OnUserQuit(userrec* user, const std::string &reason) @@ -257,7 +257,7 @@ class Modulewatch : public Module } } - virtual void OnGlobalConnect(userrec* user) + virtual void OnPostConnect(userrec* user) { irc::string n2 = user->nick; ServerInstance->Log(DEBUG,"*** WATCH: On global connect: user %s",user->nick); -- cgit v1.2.3