X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/18d5e9820d441931545e07ffb1f9310ba6c41e4f..8e2ebdb80add54d46c9f7f058ad469d70ddf9457:/modules/m_kline.c?ds=inline diff --git a/modules/m_kline.c b/modules/m_kline.c index 781538e2..04a936c7 100644 --- a/modules/m_kline.c +++ b/modules/m_kline.c @@ -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; @@ -929,7 +929,7 @@ remove_temp_kline(struct Client *source_p, struct ConfItem *aconf) get_oper_name(source_p), aconf->user, aconf->host); rb_dlinkDestroy(ptr, &temp_klines[i]); - /* remove_reject_mask(aconf->user, aconf->host); XXX */ + remove_reject_mask(aconf->user, aconf->host); delete_one_address_conf(aconf->host, aconf); return YES; }