From af1882507ad20cf770c54ace75f524d8f8de8375 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 1 Apr 2008 19:38:45 -0500 Subject: [PATCH] unsupported builds again \o/ --- unsupported/m_clearchan.c | 1 - unsupported/m_force.c | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/unsupported/m_clearchan.c b/unsupported/m_clearchan.c index a76d7b8f1..f1c557ee0 100644 --- a/unsupported/m_clearchan.c +++ b/unsupported/m_clearchan.c @@ -20,7 +20,6 @@ * $Id: m_clearchan.c 3161 2007-01-25 07:23:01Z nenolod $ */ #include "stdinc.h" -#include "tools.h" #include "channel.h" #include "client.h" #include "hash.h" diff --git a/unsupported/m_force.c b/unsupported/m_force.c index d4962a1f1..20a3ccf40 100644 --- a/unsupported/m_force.c +++ b/unsupported/m_force.c @@ -30,7 +30,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "channel.h" #include "class.h" #include "client.h" @@ -40,7 +39,6 @@ #include "ircd.h" #include "hostmask.h" #include "numeric.h" -#include "commio.h" #include "s_conf.h" #include "s_newconf.h" #include "s_log.h" @@ -50,8 +48,6 @@ #include "msg.h" #include "parse.h" #include "modules.h" -#include "event.h" - static int mo_forcejoin(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]); @@ -219,7 +215,7 @@ mo_forcejoin(struct Client *client_p, struct Client *source_p, int parc, const c sendto_channel_local(ALL_MEMBERS, chptr, ":%s MODE %s +nt", me.name, chptr->chname); - target_p->localClient->last_join_time = CurrentTime; + target_p->localClient->last_join_time = rb_current_time(); channel_member_names(chptr, target_p, 1); /* we do this to let the oper know that a channel was created, this will be