diff options
Diffstat (limited to 'src/gnunet_chat_lib.c')
-rw-r--r-- | src/gnunet_chat_lib.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gnunet_chat_lib.c b/src/gnunet_chat_lib.c index e11c92d..25e670d 100644 --- a/src/gnunet_chat_lib.c +++ b/src/gnunet_chat_lib.c | |||
@@ -136,6 +136,9 @@ GNUNET_CHAT_connect (struct GNUNET_CHAT_Handle *handle, | |||
136 | if (!handle) | 136 | if (!handle) |
137 | return; | 137 | return; |
138 | 138 | ||
139 | if (handle->current == account) | ||
140 | return; | ||
141 | |||
139 | if (handle->current) | 142 | if (handle->current) |
140 | handle_disconnect(handle); | 143 | handle_disconnect(handle); |
141 | 144 | ||