Check allow-set-title for APC as well.

This commit is contained in:
nicm
2025-10-13 07:19:08 +00:00
parent 7516f8e94f
commit feb3b90596
2 changed files with 5 additions and 3 deletions

4
tty.c
View File

@@ -407,8 +407,8 @@ void
tty_repeat_requests(struct tty *tty, int force)
{
struct client *c = tty->client;
time_t t = time(NULL);
u_int n = t - tty->last_requests;
time_t t = time(NULL);
u_int n = t - tty->last_requests;
if (~tty->flags & TTY_STARTED)
return;