]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/chmode.c
CurrentTime -> rb_currenttime();
[irc/rqf/shadowircd.git] / src / chmode.c
index d252f6f9b0e75226bc6726d8c9ac2a6efd2d6208..2e73cb95de593d37eee1cec6b882abbb03cf2d21 100644 (file)
@@ -129,7 +129,7 @@ add_id(struct Client *source_p, struct Channel *chptr, const char *banid,
                strlcpy(who, source_p->name, sizeof(who));
 
        actualBan = allocate_ban(realban, who);
-       actualBan->when = CurrentTime;
+       actualBan->when = rb_current_time();
 
        rb_dlinkAdd(actualBan, &actualBan->node, list);