From 15e70c8fe60f6d36120c3e278e391f4909aa3688 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 13 Dec 2006 19:38:12 +0000 Subject: Properly fix 'changed nickname from one thats on your notify to one thats not' condition. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5977 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_watch.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp index e41a82db1..46eb601dd 100644 --- a/src/modules/m_watch.cpp +++ b/src/modules/m_watch.cpp @@ -361,7 +361,9 @@ class Modulewatch : public Module watchlist* wl; if ((*n)->GetExt("watchlist", wl)) { - (*n)->WriteServ("601 %s %s %s %s %lu :went offline", (*n)->nick, user->nick, user->ident, user->dhost, user->age); + /*ServerInstance->Log(DEBUG,"nick=%s", (*n)->nick); + ServerInstance->Log(DEBUG,"nick2=%s", user->nick);*/ + (*n)->WriteServ("601 %s %s %s %s %lu :went offline", (*n)->nick, oldnick.c_str(), user->ident, user->dhost, user->age); (*wl)[user->nick] = ""; } } -- cgit v1.2.3