]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_services.c
m_testline.c fixed
[irc/rqf/shadowircd.git] / modules / m_services.c
index 899c1a3616186579293cef7ddb2f0ae266972235..af0e9c30d93790a4c228fdef0f40a3f1adbac287 100644 (file)
@@ -204,8 +204,8 @@ me_rsfnc(struct Client *client_p, struct Client *source_p,
        newts = atol(parv[3]);
 
        /* timestamp is older than 15mins, ignore it */
-       if(newts < (CurrentTime - 900))
-               newts = CurrentTime - 900;
+       if(newts < (rb_current_time() - 900))
+               newts = rb_current_time() - 900;
 
        target_p->tsinfo = newts;
 
@@ -270,7 +270,7 @@ me_nickdelay(struct Client *client_p, struct Client *source_p, int parc, const c
                add_nd_entry(parv[2]);
                nd = irc_dictionary_retrieve(nd_dict, parv[2]);
                if (nd != NULL)
-                       nd->expire = CurrentTime + duration;
+                       nd->expire = rb_current_time() + duration;
        }
 
        return 0;