diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2013-04-10 12:15:36 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2013-04-10 12:15:36 +0000 |
commit | 7ada64d5f8a0df39229c41b992c0ee8ac9f0a1d7 (patch) | |
tree | 2f3d2215316518222ec508fa8f66a1a29184cb4a /cmd-queue.c | |
parent | 20f0d917beb0f774af2628ed7efe2a33cf59f42a (diff) | |
download | rtmux-7ada64d5f8a0df39229c41b992c0ee8ac9f0a1d7.tar.gz rtmux-7ada64d5f8a0df39229c41b992c0ee8ac9f0a1d7.tar.bz2 rtmux-7ada64d5f8a0df39229c41b992c0ee8ac9f0a1d7.zip |
Fix bug where end guard in control mode was not printed after session
destroyed, from George Nachman.
Diffstat (limited to 'cmd-queue.c')
-rw-r--r-- | cmd-queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-queue.c b/cmd-queue.c index b1c0a4eb..a64d332c 100644 --- a/cmd-queue.c +++ b/cmd-queue.c @@ -158,7 +158,7 @@ cmdq_guard(struct cmd_q *cmdq, const char *guard) { struct client *c = cmdq->client; - if (c == NULL || c->session == NULL) + if (c == NULL) return 0; if (!(c->flags & CLIENT_CONTROL)) return 0; |