]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/chmode.c
Ziplinks appear to work again now.
[irc/rqf/shadowircd.git] / src / chmode.c
index d252f6f9b0e75226bc6726d8c9ac2a6efd2d6208..6598eacf1ee368e0bbccb5dde87a7a2928a3edae 100644 (file)
@@ -41,7 +41,7 @@
 #include "whowas.h"
 #include "s_conf.h"            /* ConfigFileEntry, ConfigChannel */
 #include "s_newconf.h"
-#include "s_log.h"
+#include "logger.h"
 
 /* bitmasks for error returns, so we send once per call */
 #define SM_ERR_NOTS             0x00000001     /* No TS on channel */
@@ -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);