]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_dline.c
'pargs' gone from set_final_mode - should be correct
[irc/rqf/shadowircd.git] / modules / m_dline.c
index 32cc408c42ef112ba48bcf32088ee3ec48955f77..42c134ecba7d3f03f719b64b7cf53fa72af8e957 100644 (file)
@@ -36,7 +36,7 @@
 #include "numeric.h"
 #include "s_conf.h"
 #include "s_newconf.h"
-#include "s_log.h"
+#include "logger.h"
 #include "send.h"
 #include "hash.h"
 #include "s_serv.h"
@@ -154,7 +154,7 @@ mo_dline(struct Client *client_p, struct Client *source_p,
                const char *creason;
                int t = AF_INET, ty, b;
                ty = parse_netmask(dlhost, (struct sockaddr *)&daddr, &b);
-#ifdef IPV6
+#ifdef RB_IPV6
                if(ty == HM_IPV6)
                        t = AF_INET6;
                 else
@@ -181,7 +181,7 @@ mo_dline(struct Client *client_p, struct Client *source_p,
                }
        }
 
-       set_time();
+       rb_set_time();
        current_date = smalldate();
 
        aconf = make_conf();