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