]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/listener.c
ok, trying to work on blockheap's stuff
[irc/rqf/shadowircd.git] / src / listener.c
index 304b51cf6705dee437aed274bee2ae1e809a910c..e8647cfd7f73a147b17e31dc49ec7a466890d74e 100644 (file)
@@ -528,12 +528,12 @@ accept_connection(int pfd, void *data)
                /*
                 * slow down the whining to opers bit
                 */
-               if((last_oper_notice + 20) <= CurrentTime)
+               if((last_oper_notice + 20) <= rb_current_time())
                {
                        sendto_realops_snomask(SNO_GENERAL, L_ALL,
                                             "All connections in use. (%s)",
                                             get_listener_name(listener));
-                       last_oper_notice = CurrentTime;
+                       last_oper_notice = rb_current_time();
                }
 
                write(fd, "ERROR :All connections in use\r\n", 32);