static bool remove_temp_kline(struct Client *, struct ConfItem *);
static void remove_prop_kline(struct Client *, struct ConfItem *);
+
/* mo_kline()
*
* parv[1] - temp time or user@host
else
apply_kline(source_p, aconf, reason, oper_reason);
- if(ConfigFileEntry.kline_delay)
- {
- if(!kline_queued)
- {
- rb_event_addonce("check_klines", check_klines_event, NULL,
- ConfigFileEntry.kline_delay);
- kline_queued = true;
- }
- }
- else
- check_klines();
+ check_one_kline(aconf);
}
/* ms_kline()
else
apply_kline(source_p, aconf, reason, oper_reason);
- if(ConfigFileEntry.kline_delay)
- {
- if(!kline_queued)
- {
- rb_event_addonce("check_klines", check_klines_event, NULL,
- ConfigFileEntry.kline_delay);
- kline_queued = true;
- }
- }
- else
- check_klines();
+ check_one_kline(aconf);
}
/* mo_unkline()