]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_gline.c
Add resv oper priv, enabled by default for compatibility.
[irc/rqf/shadowircd.git] / modules / m_gline.c
index 1d9ecb820551f297d529a99832ac0d2732668e63..f2d08705de0169a1f018f399bb1f87fb79d9f3be 100644 (file)
@@ -47,6 +47,7 @@
 #include "parse.h"
 #include "modules.h"
 #include "s_log.h"
+#include "reject.h"
 
 static int mo_gline(struct Client *, struct Client *, int, const char **);
 static int mc_gline(struct Client *, struct Client *, int, const char **);
@@ -722,6 +723,7 @@ remove_temp_gline(const char *user, const char *host)
                        continue;
 
                dlinkDestroy(ptr, &glines);
+               remove_reject_mask(aconf->user, aconf->host);
                delete_one_address_conf(aconf->host, aconf);
                return YES;
        }