summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-23 17:37:49 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-23 17:37:49 +0000
commit4f01d9724f21f3905ecad3159b46c8e84cb4017c (patch)
treeda2469f1bfb0f8925b2cc2386e4fcd1294cf168b /src/modules
parentc74e7355229dea1530bc544fdc31a41a737c9977 (diff)
Commit patch by IronLegend, thanks :) -- Fixes bug #298
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7125 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_watch.cpp2
1 files changed, 1 insertions, 1 deletions
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()] = "";
}
}
}