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:
+4
-1
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user