]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
m_xline.c fixed
authorValery Yatsko <redacted>
Wed, 2 Apr 2008 15:47:04 +0000 (19:47 +0400)
committerValery Yatsko <redacted>
Wed, 2 Apr 2008 15:47:04 +0000 (19:47 +0400)
modules/m_xline.c

index 98b46da6548c82be1eb7f502d53fd8c41b81e96e..884a71d1067deadf272cc7aa3546140fcdc5e38a 100644 (file)
@@ -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)
        {