From ef83568646877868ebdda2a20409fe14b97959f7 Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Mon, 23 Feb 2009 03:20:20 +0000 Subject: [PATCH] Backport of fix from r2131, inspircd11 module should send the current timestamp, not the timestamp that the akill was set at. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2132 5417fbe8-f217-4b02-8779-1006273d7864 --- src/protocol/inspircd11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocol/inspircd11.c b/src/protocol/inspircd11.c index a81c8a79d..5ccdc1bc0 100644 --- a/src/protocol/inspircd11.c +++ b/src/protocol/inspircd11.c @@ -559,7 +559,7 @@ inspircd_cmd_akill(char *user, char *host, char *who, time_t when, time_t expires, char *reason) { send_cmd(ServerName, "ADDLINE G %s@%s %s %ld %ld :%s", user, host, who, - (long int) when, (long int) 86400 * 2, reason); + (long int) time(NULL), (long int) 86400 * 2, reason); } void inspircd_cmd_svskill(char *source, char *user, char *buf)