aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_zap.c')
-rwxr-xr-xchannels/chan_zap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 7d51979e3..0920be36b 100755
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -3183,7 +3183,7 @@ static struct ast_frame *zt_handle_event(struct ast_channel *ast)
return NULL;
}
}
- if (p->subs[SUB_THREEWAY].owner) {
+ if (!p->subs[SUB_THREEWAY].owner) {
ast_log(LOG_NOTICE, "Whoa, threeway disappeared kinda randomly.\n");
return NULL;
}