diff options
author | Thomas Adam <thomas@xteddy.org> | 2021-03-16 10:01:20 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2021-03-16 10:01:20 +0000 |
commit | be568ea3b21b88763d2cc274bdec3a476136de2f (patch) | |
tree | 01be0e4734b3c14554060d6429ad2911a2942f99 /control-notify.c | |
parent | 60bb8fa86d040c671cc9f8e4df788b3b7116d8b3 (diff) | |
parent | 8b800b41c98c37a270cea61e57d1f2702fd75293 (diff) | |
download | rtmux-be568ea3b21b88763d2cc274bdec3a476136de2f.tar.gz rtmux-be568ea3b21b88763d2cc274bdec3a476136de2f.tar.bz2 rtmux-be568ea3b21b88763d2cc274bdec3a476136de2f.zip |
Merge branch 'obsd-master' into master
Diffstat (limited to 'control-notify.c')
-rw-r--r-- | control-notify.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/control-notify.c b/control-notify.c index cc706ac2..6ff0e436 100644 --- a/control-notify.c +++ b/control-notify.c @@ -172,6 +172,17 @@ control_notify_client_session_changed(struct client *cc) } void +control_notify_client_detached(struct client *cc) +{ + struct client *c; + + TAILQ_FOREACH(c, &clients, entry) { + if (CONTROL_SHOULD_NOTIFY_CLIENT(c)) + control_write(c, "%%client-detached %s", cc->name); + } +} + +void control_notify_session_renamed(struct session *s) { struct client *c; |