X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/e7046ee54dcf1d1e905e2c49f5cd8b75ce229002..8e2ebdb80add54d46c9f7f058ad469d70ddf9457:/modules/m_kline.c?ds=inline diff --git a/modules/m_kline.c b/modules/m_kline.c index 29fba0d6..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