]> 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 35901f8d5f751ae26371a7cf97eeaf0e28b0f3d3..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