summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-13 19:38:12 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-13 19:38:12 +0000
commit15e70c8fe60f6d36120c3e278e391f4909aa3688 (patch)
tree23b12083acdd931f24ea92e2e5fee31855404b03 /src/modules
parent0f0f1844188162bf8fa7f889f95cff7e306543b6 (diff)
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
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_watch.cpp4
1 files changed, 3 insertions, 1 deletions
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] = "";
}
}