From 8828741c72ff0774ba461ca21caf5768d05079bc Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 31 Oct 2008 12:45:29 +0000 Subject: 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 --- src/modules/m_watch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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()); } } -- cgit v1.2.3