X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/c98390004f4f14cd8215302d77313f81e2546e22..55b5711c568f975d6159b92c6202515ea9a71988:/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;