summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-27 20:29:08 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-27 20:29:08 +0000
commitecbddde66a11aec8c4ccc967a38bce45ac7ce699 (patch)
treea04996b4816483f28145963998a08a8e88d085f1 /src
parentb7e05bb315f3e76124f6a8ef1cb09f7f8e0be018 (diff)
Remove user no longer being watched, not the quitting one. Fix from Szymek (thanks), tested by Darom.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10728 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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 6e9ab6a58..acc63fd40 100644
--- a/src/modules/m_watch.cpp
+++ b/src/modules/m_watch.cpp
@@ -459,7 +459,7 @@ class Modulewatch : public Module
i2->second.erase(n);
if (!i2->second.size())
- whos_watching_me->erase(user->nick.c_str());
+ whos_watching_me->erase(x);
}
}