X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/7cdb0a09b9ba217d30d6e8c35654dc9cc6e3ae57..43946961df9e7703c8877e4bbd9181507422429d:/modules/m_who.c?ds=sidebyside diff --git a/modules/m_who.c b/modules/m_who.c index f6b2d723..b0b76f56 100644 --- a/modules/m_who.c +++ b/modules/m_who.c @@ -24,7 +24,6 @@ * $Id: m_who.c 3350 2007-04-02 22:03:08Z jilles $ */ #include "stdinc.h" -#include "tools.h" #include "common.h" #include "client.h" #include "channel.h" @@ -33,10 +32,9 @@ #include "numeric.h" #include "s_serv.h" #include "send.h" -#include "irc_string.h" -#include "sprintf_irc.h" +#include "match.h" #include "s_conf.h" -#include "s_log.h" +#include "logger.h" #include "msg.h" #include "parse.h" #include "modules.h" @@ -177,7 +175,7 @@ m_who(struct Client *client_p, struct Client *source_p, int parc, const char *pa /* it has to be a global who at this point, limit it */ if(!IsOper(source_p)) { - if((last_used + ConfigFileEntry.pace_wait) > CurrentTime) + if((last_used + ConfigFileEntry.pace_wait) > rb_current_time()) { sendto_one(source_p, form_str(RPL_LOAD2HI), me.name, source_p->name, "WHO"); @@ -186,7 +184,7 @@ m_who(struct Client *client_p, struct Client *source_p, int parc, const char *pa return 0; } else - last_used = CurrentTime; + last_used = rb_current_time(); } /* Note: operspy_dont_care_user_info does not apply to