mirror of
https://github.com/anope/anope.git
synced 2026-07-06 16:33:14 +02:00
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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user