X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/212380e3f42f585dc1ea927402252eb943f91f7b..cb4ddd7268cb4d738ce46ccb309614ff1faed74b:/modules/m_lusers.c diff --git a/modules/m_lusers.c b/modules/m_lusers.c index f819dbe..1a3bd35 100644 --- a/modules/m_lusers.c +++ b/modules/m_lusers.c @@ -49,7 +49,6 @@ DECLARE_MODULE_AV1(lusers, NULL, NULL, lusers_clist, NULL, NULL, "$Revision: 254 /* * m_lusers - LUSERS message handler - * parv[0] = sender * parv[1] = host/server mask. * parv[2] = server to query * @@ -63,7 +62,7 @@ m_lusers(struct Client *client_p, struct Client *source_p, int parc, const char if (parc > 2) { - if((last_used + ConfigFileEntry.pace_wait) > CurrentTime) + if((last_used + ConfigFileEntry.pace_wait) > rb_current_time()) { /* safe enough to give this on a local connect only */ sendto_one(source_p, form_str(RPL_LOAD2HI), @@ -71,7 +70,7 @@ m_lusers(struct Client *client_p, struct Client *source_p, int parc, const char return 0; } else - last_used = CurrentTime; + last_used = rb_current_time(); if(hunt_server(client_p, source_p, ":%s LUSERS %s :%s", 2, parc, parv) != HUNTED_ISME) @@ -85,7 +84,6 @@ m_lusers(struct Client *client_p, struct Client *source_p, int parc, const char /* * ms_lusers - LUSERS message handler for servers and opers - * parv[0] = sender * parv[1] = host/server mask. * parv[2] = server to query *