]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_check.cpp
Add comments
[user/henk/code/inspircd.git] / src / modules / m_check.cpp
index cc8c7846bef1ac99000e097ea52e14cc250ed92f..af8aaa3fc74e9240fa8e822a05bf0accaf4147d7 100644 (file)
@@ -129,7 +129,7 @@ class CommandCheck : public Command
                        long x = 0;
 
                        /* hostname or other */
-                       for (user_hash::const_iterator a = ServerInstance->clientlist->begin(); a != ServerInstance->clientlist->end(); a++)
+                       for (user_hash::const_iterator a = ServerInstance->Users->clientlist->begin(); a != ServerInstance->Users->clientlist->end(); a++)
                        {
                                if (match(a->second->host, parameters[0]) || match(a->second->dhost, parameters[0]))
                                {