diff options
Diffstat (limited to 'protocols/Tox/src')
-rw-r--r-- | protocols/Tox/src/tox_proto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_proto.cpp b/protocols/Tox/src/tox_proto.cpp index f73e776f0d..ef14dc0b0a 100644 --- a/protocols/Tox/src/tox_proto.cpp +++ b/protocols/Tox/src/tox_proto.cpp @@ -168,7 +168,7 @@ int CToxProto::SetStatus(int iNewStatus) return 0;
}
- if (old_status == ID_STATUS_CONNECTING)
+ if (old_status >= ID_STATUS_CONNECTING && old_status < ID_STATUS_OFFLINE)
return 0;
if (old_status == ID_STATUS_OFFLINE && !IsOnline())
|