* If we have no bypasschars_uline in config, and this is a bypasschar (regular)
* Than it is obviously going to get through +d, no build required
*/
- if (!deaf_bypasschars_uline.empty() && is_bypasschar)
+ if (deaf_bypasschars_uline.empty() && is_bypasschar)
return MOD_RES_PASSTHRU;
- const UserMembList& ulist = chan->GetUsers();
- for (UserMembCIter i = ulist.begin(); i != ulist.end(); ++i)
+ const Channel::MemberMap& ulist = chan->GetUsers();
+ for (Channel::MemberMap::const_iterator i = ulist.begin(); i != ulist.end(); ++i)
{
/* not +d ? */
if (!i->first->IsModeSet(m1))
if (is_bypasschar && !is_a_uline)
continue; /* deliver message */
- if (status && !strchr(i->second->GetAllPrefixChars(), status))
- continue;
-
/* don't deliver message! */
exempt_list.insert(i->first);
}