/* This was still iterating up to 190, chanrec::custom_modes is only 64 elements -- Om */
for(int n = 0; n < 64; n++)
{
- if(chan->custom_modes[n])
+ if(chan->modes[n])
{
*offset++ = n+65;
extparam = "";
for (user_hash::const_iterator i = clientlist.begin(); i != clientlist.end(); i++)
{
- if (i->second->oper)
+ if (*(i->second->oper))
c++;
}
return c;