mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
Merge pull request #396 from mauke/master
make /knockout use /unban to remove bans
This commit is contained in:
commit
12f4f1fa24
1 changed files with 1 additions and 1 deletions
|
|
@ -749,7 +749,7 @@ static void knockout_timeout_server(IRC_SERVER_REC *server)
|
|||
next = tmp->next;
|
||||
if (rec->unban_time <= now) {
|
||||
/* timeout, unban. */
|
||||
ban_remove(rec->channel, rec->ban);
|
||||
signal_emit("command unban", 3, rec->ban, server, rec->channel);
|
||||
knockout_destroy(server, rec);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue