diff options
| author | 2008-11-03 22:42:50 +0000 | |
|---|---|---|
| committer | 2008-11-03 22:42:50 +0000 | |
| commit | dc1cfe25cde2e66ecb1cfddce3388a4d2e1a809c (patch) | |
| tree | befbd45c29bd5c5cf4717ebdf842c01b4f33838f /src | |
| parent | Fix an uninitialised variable in ConfigReader::GetError() (diff) | |
Backport r10791, m_watch was deleting the wrong user's watcher list
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10794 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
| -rw-r--r-- | src/modules/m_watch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp index a345bfc13..d9c568b92 100644 --- a/src/modules/m_watch.cpp +++ b/src/modules/m_watch.cpp @@ -244,7 +244,7 @@ class cmd_watch : public command_t x->second.erase(n); if (!x->second.size()) - whos_watching_me->erase(user->nick); + whos_watching_me->erase(x); } } @@ -368,7 +368,7 @@ class Modulewatch : public Module x->second.erase(n); if (!x->second.size()) - whos_watching_me->erase(user->nick); + whos_watching_me->erase(x); } } |
