X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/60c96e64c1fe14f259777e4272690448ff07335d..1ebe6ffc92cae7ed80ac5b8dd6edfd330229ae43:/modules/m_xline.c diff --git a/modules/m_xline.c b/modules/m_xline.c index 37f4353..a13d46f 100644 --- a/modules/m_xline.c +++ b/modules/m_xline.c @@ -52,6 +52,7 @@ #include "modules.h" #include "s_conf.h" #include "s_newconf.h" +#include "reject.h" static int mo_xline(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]); static int ms_xline(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]); @@ -558,6 +559,7 @@ remove_xline(struct Client *source_p, const char *name) get_oper_name(source_p), name); } + remove_reject_mask(aconf->name, NULL); free_conf(aconf); dlinkDestroy(ptr, &xline_conf_list); return;