X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/212380e3f42f585dc1ea927402252eb943f91f7b..585e477be8d7cfa2c0308568e5cab8df095a639e:/modules/m_lusers.c diff --git a/modules/m_lusers.c b/modules/m_lusers.c index f819dbe..8e963df 100644 --- a/modules/m_lusers.c +++ b/modules/m_lusers.c @@ -21,7 +21,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA * - * $Id: m_lusers.c 254 2005-09-21 23:35:12Z nenolod $ */ #include "stdinc.h" @@ -49,7 +48,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 +61,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 +69,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 +83,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 *