]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_kline.c
CurrentTime -> rb_currenttime();
[irc/rqf/shadowircd.git] / modules / m_kline.c
index 1fdac5b8abfb57555335e3dfcdfb67d999027124..faa6ad795f0f3e47e65c3206edd4a9cc60e1e5bf 100644 (file)
@@ -508,7 +508,7 @@ static void
 apply_tkline(struct Client *source_p, struct ConfItem *aconf,
             const char *reason, const char *oper_reason, const char *current_date, int tkline_time)
 {
-       aconf->hold = CurrentTime + tkline_time;
+       aconf->hold = rb_current_time() + tkline_time;
        add_temp_kline(aconf);
 
        /* no oper reason.. */