]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_check.cpp
Remove typedef UserMembCIter, use Channel::MemberMap::const_iterator instead
[user/henk/code/inspircd.git] / src / modules / m_check.cpp
index a2c0b2e2c83cbf108ef9c7358ff1137eb62ab51d..75c6a43994ccfe46c8c3a5775ec2fa268c0d504d 100644 (file)
@@ -224,10 +224,10 @@ class CommandCheck : public Command
 
                        /* now the ugly bit, spool current members of a channel. :| */
 
-                       const UserMembList& ulist = targchan->GetUsers();
+                       const Channel::MemberMap& ulist = targchan->GetUsers();
 
                        /* note that unlike /names, we do NOT check +i vs in the channel */
-                       for (UserMembCIter i = ulist.begin(); i != ulist.end(); ++i)
+                       for (Channel::MemberMap::const_iterator i = ulist.begin(); i != ulist.end(); ++i)
                        {
                                /*
                                 * Unlike Asuka, I define a clone as coming from the same host. --w00t