X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/581fa5c4999f82a176e39e4edad2990759c94f56..fdd0b6ccf1418019192b33d4c35604ea07afff9d:/modules/m_time.c diff --git a/modules/m_time.c b/modules/m_time.c index 6940369..81031dd 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;