]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
unsupported builds again \o/
authorWilliam Pitcock <redacted>
Wed, 2 Apr 2008 00:38:45 +0000 (19:38 -0500)
committerWilliam Pitcock <redacted>
Wed, 2 Apr 2008 00:38:45 +0000 (19:38 -0500)
unsupported/m_clearchan.c
unsupported/m_force.c

index a76d7b8f17fb8e6eef7076b38026caa93d2c2b46..f1c557ee088dd330467731d9107531c7375e353a 100644 (file)
@@ -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"
index d4962a1f134aee277139c74e090eb3d6c92634bf..20a3ccf40418e54cb8d025b0626dbe7fdce7388e 100644 (file)
@@ -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