X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/47a037509438b33fc3cc873327b98afe6a042c30..8bd5767b953efd089e0467b02f897f77581e589d:/modules/m_resv.c?ds=sidebyside diff --git a/modules/m_resv.c b/modules/m_resv.c index d492c985..9d46750c 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]",