]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/helperfuncs.cpp
LUSERS oper count was broken and reporting the oper count to always be equal to the...
[user/henk/code/inspircd.git] / src / helperfuncs.cpp
index c910e0f2b89f38fdbbadd456d50f2562c7141c5d..f26490689d70abf0cd24fcd4f1d075b432c93f4c 100644 (file)
@@ -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;