X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/a5ea0e0dc43a9de0cabf80ab95413773f9c79ebe..2392eb24cd19cede27f51ffa7f3d70b29edcbe33:/unsupported/m_force.c diff --git a/unsupported/m_force.c b/unsupported/m_force.c index d4962a1..146fa9c 100644 --- a/unsupported/m_force.c +++ b/unsupported/m_force.c @@ -30,28 +30,23 @@ */ #include "stdinc.h" -#include "tools.h" #include "channel.h" #include "class.h" #include "client.h" #include "common.h" -#include "irc_string.h" -#include "sprintf_irc.h" +#include "match.h" #include "ircd.h" #include "hostmask.h" #include "numeric.h" -#include "commio.h" #include "s_conf.h" #include "s_newconf.h" -#include "s_log.h" +#include "logger.h" #include "send.h" #include "hash.h" #include "s_serv.h" #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 +214,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