X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/7cdb0a09b9ba217d30d6e8c35654dc9cc6e3ae57..463947ad9073387c16e15d0fe33296bb667b4275:/modules/m_time.c diff --git a/modules/m_time.c b/modules/m_time.c index 69403699..d677fe49 100644 --- a/modules/m_time.c +++ b/modules/m_time.c @@ -35,7 +35,6 @@ #include "parse.h" #include "modules.h" #include "packet.h" -#include "sprintf_irc.h" static int m_time(struct Client *, struct Client *, int, const char **); static char *date(void); @@ -93,7 +92,7 @@ date(void) time_t lclock; int minswest; - lclock = CurrentTime; + lclock = rb_current_time(); gm = gmtime(&lclock); memcpy((void *) &gmbuf, (void *) gm, sizeof(gmbuf)); gm = &gmbuf;