summaryrefslogtreecommitdiff
path: root/src/modules/m_operwho.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_operwho.cpp')
-rw-r--r--src/modules/m_operwho.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_operwho.cpp b/src/modules/m_operwho.cpp
index e4dbf3235..8926b2a9c 100644
--- a/src/modules/m_operwho.cpp
+++ b/src/modules/m_operwho.cpp
@@ -128,7 +128,7 @@ class ModuleOperWho : public Module
{
for (user_hash::const_iterator i = clientlist.begin(); i != clientlist.end(); i++)
{
- if ((has_channel(i->second,Ptr)) && (isnick(i->second->nick)))
+ if ((Ptr->HasUser(i->second)) && (isnick(i->second->nick)))
{
// Fix Bug #29 - Part 2..
*tmp = 0;