summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/helperfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index c910e0f2b..f26490689 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -1495,7 +1495,7 @@ int usercount_opers(void)
for (user_hash::const_iterator i = clientlist.begin(); i != clientlist.end(); i++)
{
- if (i->second->oper)
+ if (*(i->second->oper))
c++;
}
return c;