* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
- * $Id: m_time.c 254 2005-09-21 23:35:12Z nenolod $
*/
#include "stdinc.h"
#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);
/*
* m_time
- * parv[0] = sender prefix
* parv[1] = servername
*/
static int
time_t lclock;
int minswest;
- lclock = CurrentTime;
+ lclock = rb_current_time();
gm = gmtime(&lclock);
memcpy((void *) &gmbuf, (void *) gm, sizeof(gmbuf));
gm = &gmbuf;