summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ratox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ratox.c b/ratox.c
index 6581c07..0d97339 100644
--- a/ratox.c
+++ b/ratox.c
@@ -1657,7 +1657,7 @@ loop(void)
TAILQ_FOREACH(f, &friendhead, entry) {
if (tox_friend_get_connection_status(tox, f->num, NULL) == TOX_CONNECTION_NONE)
continue;
- if (f->av.state)
+ if (!f->av.state)
continue;
fd = fifoopen(f->dirfd, ffiles[FCALL_OUT]);