diff options
author | Thomas Adam <thomas@xteddy.org> | 2019-05-11 09:02:29 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2019-05-11 09:02:29 +0100 |
commit | 50d1d04913773762459ba02ef473261459c8e8a9 (patch) | |
tree | 0804fa237cb02cc06743b2bcc1edfba4fbb2acb3 /status.c | |
parent | 67e2f5869af633631ef089d82682a3805dbba94f (diff) | |
parent | 198b0a23a21ac1cd30b1e9c23fcc38087c22bd7e (diff) | |
download | rtmux-50d1d04913773762459ba02ef473261459c8e8a9.tar.gz rtmux-50d1d04913773762459ba02ef473261459c8e8a9.tar.bz2 rtmux-50d1d04913773762459ba02ef473261459c8e8a9.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'status.c')
-rw-r--r-- | status.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -203,7 +203,7 @@ status_at_line(struct client *c) { struct session *s = c->session; - if (c->flags & CLIENT_STATUSOFF) + if (c->flags & (CLIENT_STATUSOFF|CLIENT_CONTROL)) return (-1); if (s->statusat != 1) return (s->statusat); @@ -216,7 +216,7 @@ status_line_size(struct client *c) { struct session *s = c->session; - if (c->flags & CLIENT_STATUSOFF) + if (c->flags & (CLIENT_STATUSOFF|CLIENT_CONTROL)) return (0); return (s->statuslines); } |