X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/7cdb0a09b9ba217d30d6e8c35654dc9cc6e3ae57..b2c208be091670e3c5259eba77187bae6ac6eece:/modules/m_time.c diff --git a/modules/m_time.c b/modules/m_time.c index 69403699..81031ddc 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); @@ -61,7 +60,6 @@ static const char *weekdays[] = { /* * m_time - * parv[0] = sender prefix * parv[1] = servername */ static int @@ -93,7 +91,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;