]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_lusers.c
A few more fixes. Part 3 of 2 I suppose.
[irc/rqf/shadowircd.git] / modules / m_lusers.c
index f819dbecc8cd87781b920f5acd8b4c88067c32c2..8e963dffaa0fe264b732bb321c45489ec8777611 100644 (file)
@@ -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
  *