summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 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());
}
}