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, if (!handle) return; + if (handle->current == account) + return; + if (handle->current) handle_disconnect(handle); |