diff options
Diffstat (limited to 'toxcore/onion_client.c')
-rw-r--r-- | toxcore/onion_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/onion_client.c b/toxcore/onion_client.c index 8f735d6c..ab7958c6 100644 --- a/toxcore/onion_client.c +++ b/toxcore/onion_client.c | |||
@@ -403,7 +403,7 @@ static int client_add_to_list(Onion_Client *onion_c, uint32_t num, const uint8_t | |||
403 | } | 403 | } |
404 | 404 | ||
405 | } else { | 405 | } else { |
406 | if (is_stored == 2) | 406 | if (is_stored >= 2) |
407 | return -1; | 407 | return -1; |
408 | 408 | ||
409 | list_nodes = onion_c->friends_list[num - 1].clients_list; | 409 | list_nodes = onion_c->friends_list[num - 1].clients_list; |