diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-23 03:20:20 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-23 03:20:20 +0000 |
commit | ef83568646877868ebdda2a20409fe14b97959f7 (patch) | |
tree | d82e95285ece72e400af62894f42bc763424be9e /src | |
parent | 64fee389760911211d62f6853a6b6872de6e1f40 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/protocol/inspircd11.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |