]> jfr.im git - solanum.git/blobdiff - modules/m_dline.c
Replace most checks for +o with oper:general
[solanum.git] / modules / m_dline.c
index 9a056d05a8024f6c4290fb55dd3f9a4a6d364a22..cc62d5725d4bfee4f1c9f0d5a7ee8d65868955ef 100644 (file)
@@ -222,11 +222,9 @@ apply_dline(struct Client *source_p, const char *dlhost, int tdline_time, char *
                sendto_one(source_p, ":%s NOTICE %s :Invalid D-Line", me.name, source_p->name);
                return;
        }
-#ifdef RB_IPV6
        if(ty == HM_IPV6)
                t = AF_INET6;
        else
-#endif
                t = AF_INET;
 
        /* This means dlines wider than /16 cannot be set remotely */