- sendto_one_notice(source_p,
- ":X-Line for [%s] is removed",
- name);
- sendto_realops_snomask(SNO_GENERAL, L_ALL,
- "%s has removed the temporary X-Line for: [%s]",
- get_oper_name(source_p), name);
- ilog(L_KLINE, "UX %s %s",
- get_oper_name(source_p), name);
+ if (!aconf->hold)
+ {
+ if (!remove_xline_from_file(source_p, name))
+ return;
+ }
+ else
+ {
+ sendto_one_notice(source_p,
+ ":X-Line for [%s] is removed",
+ name);
+ sendto_realops_snomask(SNO_GENERAL, L_ALL,
+ "%s has removed the temporary X-Line for: [%s]",
+ get_oper_name(source_p), name);
+ ilog(L_KLINE, "UX %s %s",
+ get_oper_name(source_p), name);
+ }