]> jfr.im git - solanum.git/blobdiff - modules/m_dline.c
m_nick/m_sasl/m_user: restore check for mixing of client and server protocol
[solanum.git] / modules / m_dline.c
index 9c3a39882d069d7a457e41475732205bb31c9899..cc62d5725d4bfee4f1c9f0d5a7ee8d65868955ef 100644 (file)
@@ -26,7 +26,6 @@
 #include "channel.h"
 #include "class.h"
 #include "client.h"
-#include "common.h"
 #include "match.h"
 #include "ircd.h"
 #include "hostmask.h"
@@ -223,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 */