]> jfr.im git - solanum.git/blobdiff - extensions/hurt.c
Merge pull request #288 from edk0/umode-o-split
[solanum.git] / extensions / hurt.c
index 9f6ee7adc57b70c4e9a5c3dc12ca3f3565cc3891..2baf3c58c4adbaa0fc171a87e568006c346c6bf6 100644 (file)
@@ -470,9 +470,9 @@ doing_stats_hook(hook_data_int *hdata)
        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)