summaryrefslogtreecommitdiff
path: root/src/modules/m_watch.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-31 12:45:29 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-31 12:45:29 +0000
commit8828741c72ff0774ba461ca21caf5768d05079bc (patch)
tree45c9b504273444bce754deec75afc319198c283d /src/modules/m_watch.cpp
parent37594e0ac465e34b3bc51a0a3ac5048faac5369a (diff)
Revert "Remove user no longer being watched, not the quitting one. Fix from Szymek (thanks), tested by Darom."
This reverts commit 636b4b712aecf427e1f6e48e456b9221ae53dc4e. This commit is *NOT* correct, and causes crashes, nor can I see (with review) how this is wrong... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10757 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_watch.cpp')
-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 e9c0c3025..71e651736 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(x);
+ whos_watching_me->erase(user->nick.c_str());
}
}