source_p = hdata->client;
if(hdata->arg2 != (int) 's')
return;
- if((ConfigFileEntry.stats_k_oper_only == 2) && !IsOper(source_p))
+ if((ConfigFileEntry.stats_k_oper_only == 2) && !IsOperGeneral(source_p))
return;
- if ((ConfigFileEntry.stats_k_oper_only == 1) && !IsOper(source_p))
+ if ((ConfigFileEntry.stats_k_oper_only == 1) && !IsOperGeneral(source_p))
{
hurt = hurt_find(source_p->sockhost);
if (hurt != NULL)
{
hurt = (hurt_t *) ptr->data;
- if (!strcasecmp(ip, hurt->ip))
+ if (!rb_strcasecmp(ip, hurt->ip))
return hurt;
}