]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_cmessage.c
Do not install ban .conf files (like kline.conf, rsv.conf, etc) as they aren't used...
[irc/rqf/shadowircd.git] / modules / m_cmessage.c
index d1a069e22f7c66dc9eace72d0a25cc9921bd126d..adcb20be11546968c3cad9c9d04eccff47232adc 100644 (file)
@@ -30,7 +30,6 @@
  *  IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  *  POSSIBILITY OF SUCH DAMAGE.
  *
- *  $Id: m_cmessage.c 1543 2006-06-01 18:18:28Z jilles $
  */
 #include "stdinc.h"
 #include "client.h"
@@ -143,7 +142,7 @@ m_cmessage(int p_or_n, const char *command,
                                        form_str(ERR_TARGUMODEG), target_p->name);
 
                if((target_p->localClient->last_caller_id_time +
-                   ConfigFileEntry.caller_id_wait) < CurrentTime)
+                   ConfigFileEntry.caller_id_wait) < rb_current_time())
                {
                        if(p_or_n != NOTICE)
                                sendto_one_numeric(source_p, RPL_TARGNOTIFY,
@@ -154,14 +153,14 @@ m_cmessage(int p_or_n, const char *command,
                                me.name, target_p->name, source_p->name,
                                source_p->username, source_p->host);
 
-                       target_p->localClient->last_caller_id_time = CurrentTime;
+                       target_p->localClient->last_caller_id_time = rb_current_time();
                }
 
                return 0;
        }
 
        if(p_or_n != NOTICE)
-               source_p->localClient->last = CurrentTime;
+               source_p->localClient->last = rb_current_time();
 
        sendto_anywhere(target_p, source_p, command, ":%s", parv[3]);
        return 0;