diff options
-rw-r--r-- | src/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -380,7 +380,7 @@ bool tip_client_redirect(struct tip_client *cli) struct tip_client_redirect *redir, *next; char addr[INET_ADDRSTRLEN + 1]; - if (!max_redirect) + if (!max_redirect || !cli->allow_redirect) return false; inet_ntop(AF_INET, &cli->addr.sin_addr, addr, INET_ADDRSTRLEN); |