From dd17b68273d0b25014af3653f18a35cf181e4e44 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 11 Mar 2006 15:25:55 +0000 Subject: Last ones git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3660 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 934a487b9..e3a0815a5 100644 --- a/src/modules/m_watch.cpp +++ b/src/modules/m_watch.cpp @@ -204,7 +204,7 @@ class Modulewatch : public Module List[I_OnUserQuit] = List[I_OnGlobalConnect] = List[I_OnUserPostNick] = List[I_On005Numeric] = 1; } - virtual void OnUserQuit(userrec* user, std::string reason) + virtual void OnUserQuit(userrec* user, const std::string &reason) { log(DEBUG,"*** WATCH: On global quit: user %s",user->nick); irc::string n2 = user->nick; @@ -248,7 +248,7 @@ class Modulewatch : public Module } } - virtual void OnUserPostNick(userrec* user, std::string oldnick) + virtual void OnUserPostNick(userrec* user, const std::string &oldnick) { irc::string n2 = oldnick.c_str(); irc::string n3 = user->nick; -- cgit v1.2.3