]> jfr.im git - solanum.git/blobdiff - modules/m_kline.c
Remove stray SetCork.
[solanum.git] / modules / m_kline.c
index 6901004a336c10730dd97c62aefafb009ed7c5fb..04a936c771fec80e030bdcfd2dc01619f67fca90 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"
@@ -174,7 +174,7 @@ mo_kline(struct Client *client_p, struct Client *source_p,
        if(already_placed_kline(source_p, user, host, tkline_time))
                return 0;
 
-       set_time();
+       rb_set_time();
        current_date = smalldate();
        aconf = make_conf();
        aconf->status = CONF_KILL;
@@ -701,7 +701,7 @@ already_placed_kline(struct Client *source_p, const char *luser, const char *lho
                bits = 0;
                if((t = parse_netmask(lhost, (struct sockaddr *)&iphost, &bits)) != HM_HOST)
                {
-#ifdef IPV6
+#ifdef RB_IPV6
                        if(t == HM_IPV6)
                                t = AF_INET6;
                        else
@@ -859,7 +859,7 @@ remove_permkline_match(struct Client *source_p, struct ConfItem *aconf)
        ilog(L_KLINE, "UK %s %s %s",
                get_oper_name(source_p), user, host);
 
-       /* remove_reject_mask(aconf->user, aconf->host); XXX <- gonna go on bandb */
+       remove_reject_mask(aconf->user, aconf->host);
        delete_one_address_conf(aconf->host, aconf);
 
        return;