1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-08 23:23:12 +02:00

On *LINE removal it showed the wrong person in the notice sent to IRCOps

(on remote servers). It showed the originally setter and not the remover.
Reported by k4be in https://bugs.unrealircd.org/view.php?id=5629
This commit is contained in:
Bram Matthys
2020-04-17 09:27:16 +02:00
parent 26c58dce47
commit 49d595f60c
+4 -1
View File
@@ -4208,8 +4208,11 @@ CMD_FUNC(cmd_tkl_del)
RunHook2(HOOKTYPE_TKL_DEL, client, tkl);
if (type & TKL_GLOBAL)
{
/* This is a bit of a hack for #5629. Will consider real fix post-release. */
safe_strdup(tkl->set_by, removed_by);
tkl_broadcast_entry(0, client, client, tkl);
}
if (TKLIsBanException(tkl))
{