diff options
| author | 2007-05-23 17:37:49 +0000 | |
|---|---|---|
| committer | 2007-05-23 17:37:49 +0000 | |
| commit | 4f01d9724f21f3905ecad3159b46c8e84cb4017c (patch) | |
| tree | da2469f1bfb0f8925b2cc2386e4fcd1294cf168b /src/modules/m_watch.cpp | |
| parent | One more with redundant ref to instance. I think this is the last one. (diff) | |
| download | inspircd++-4f01d9724f21f3905ecad3159b46c8e84cb4017c.tar.gz inspircd++-4f01d9724f21f3905ecad3159b46c8e84cb4017c.tar.bz2 inspircd++-4f01d9724f21f3905ecad3159b46c8e84cb4017c.zip | |
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/m_watch.cpp')
| -rw-r--r-- | src/modules/m_watch.cpp | 2 |
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()] = ""; } } } |
