From 4f01d9724f21f3905ecad3159b46c8e84cb4017c Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 23 May 2007 17:37:49 +0000 Subject: Commit patch by IronLegend, thanks :) -- Fixes bug #298 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7125 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_watch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp index 77bbf90a1..ca51fc690 100644 --- a/src/modules/m_watch.cpp +++ b/src/modules/m_watch.cpp @@ -445,7 +445,7 @@ class Modulewatch : public Module { if (!user->Visibility || user->Visibility->VisibleTo(user)) (*n)->WriteServ("601 %s %s %s %s %lu :went offline", (*n)->nick, oldnick.c_str(), user->ident, user->dhost, user->age); - (*wl)[user->nick] = ""; + (*wl)[oldnick.c_str()] = ""; } } } -- cgit v1.2.3