]> jfr.im git - irc/quakenet/newserv.git/commitdiff
LUA: use new format glines.
authorChris Porter <redacted>
Tue, 20 Jan 2009 20:49:42 +0000 (20:49 +0000)
committerChris Porter <redacted>
Tue, 20 Jan 2009 20:49:42 +0000 (20:49 +0000)
lua/luacommands.c

index 2c297603d1077bdda8501ed059cb9f10df361e44..ddb7a49c699f183176b3f7fe477f1235b9f61287 100644 (file)
@@ -261,7 +261,7 @@ static int lua_gline(lua_State *ps) {
     snprintf(mask, sizeof(mask), "*@%s", IPtostr(target->p_ipaddr));
   }
 
-  irc_send("%s GL * +%s %d :%s", mynumeric->content, mask, duration, reason);
+  irc_send("%s GL * +%s %d %jd :%s", mynumeric->content, mask, duration, (intmax_t)time(NULL), reason);
   LUA_RETURN(ps, lua_cmsg(LUA_PUKECHAN, "lua-GLINE: %s (%d users, %d seconds -- %s)", mask, usercount, duration, reason));
 }