X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/62d289465fbe0c51a6a86f642f8b88d7b44bcb47..d3455e2c7e2f9040e1b7628d9cf52b26a24dcefc:/modules/m_resv.c diff --git a/modules/m_resv.c b/modules/m_resv.c index d492c98..9d46750 100644 --- a/modules/m_resv.c +++ b/modules/m_resv.c @@ -36,7 +36,7 @@ #include "s_conf.h" #include "s_newconf.h" #include "hash.h" -#include "s_log.h" +#include "logger.h" #include "sprintf_irc.h" static int mo_resv(struct Client *, struct Client *, int, const char **); @@ -230,7 +230,7 @@ parse_resv(struct Client *source_p, const char *name, if(temp_time > 0) { - aconf->hold = CurrentTime + temp_time; + aconf->hold = rb_current_time() + temp_time; sendto_realops_snomask(SNO_GENERAL, L_ALL, "%s added temporary %d min. RESV for [%s] [%s]", @@ -288,7 +288,7 @@ parse_resv(struct Client *source_p, const char *name, if(temp_time > 0) { - aconf->hold = CurrentTime + temp_time; + aconf->hold = rb_current_time() + temp_time; sendto_realops_snomask(SNO_GENERAL, L_ALL, "%s added temporary %d min. RESV for [%s] [%s]",