]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_xline.c
s_log.* -> logger.* (s_foo looks ugly, lets try to get rid of it)
[irc/rqf/shadowircd.git] / modules / m_xline.c
index 98b46da6548c82be1eb7f502d53fd8c41b81e96e..fb615ad0b55ef6fc67e69dec7599b326a4c5fa20 100644 (file)
@@ -39,7 +39,7 @@
 #include "class.h"
 #include "ircd.h"
 #include "numeric.h"
-#include "s_log.h"
+#include "logger.h"
 #include "s_serv.h"
 #include "whowas.h"
 #include "irc_string.h"
@@ -373,7 +373,7 @@ write_xline(struct Client *source_p, struct ConfItem *aconf)
 
        rb_sprintf(buffer, "\"%s\",\"0\",\"%s\",\"%s\",%ld\n",
                   aconf->name, aconf->passwd,
-                  get_oper_name(source_p), rb_current_time());
+                  get_oper_name(source_p), (long) rb_current_time());
 
        if(fputs(buffer, out) == -1)
        {