]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_delaymsg.cpp
m_spanningtree Set the TS of the uuid nick to the same value on collision
[user/henk/code/inspircd.git] / src / modules / m_delaymsg.cpp
index 1730663c5b75fc478c2dc8cf0e9033f3f52601f4..06a05db0238cc51287156e3e7d85b939953b51e2 100644 (file)
@@ -73,8 +73,8 @@ void DelayMsgMode::OnUnset(User* source, Channel* chan)
        /*
         * Clean up metadata
         */
-       const UserMembList* names = chan->GetUsers();
-       for (UserMembCIter n = names->begin(); n != names->end(); ++n)
+       const Channel::MemberMap& users = chan->GetUsers();
+       for (Channel::MemberMap::const_iterator n = users.begin(); n != users.end(); ++n)
                jointime.set(n->second, 0);
 }