]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_time.c
Forgot version.c.SH for libratbox/.
[irc/rqf/shadowircd.git] / modules / m_time.c
index 69403699d83f8ff77435fa28d00098a3eae6d35f..d677fe49ee829a8f32587746c39f7192fcf130aa 100644 (file)
@@ -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;