diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-11 15:25:55 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-11 15:25:55 +0000 |
commit | dd17b68273d0b25014af3653f18a35cf181e4e44 (patch) | |
tree | decd0503625bd78f29aee0b5298d1fadfff95240 /src/modules/m_watch.cpp | |
parent | 7ef184998620a958b47a00b9199f117dc478cb04 (diff) |
Last ones
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3660 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_watch.cpp')
-rw-r--r-- | src/modules/m_watch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |