summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/chatnets.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/chatnets.c b/src/core/chatnets.c
index 8739ff7d..502d11d7 100644
--- a/src/core/chatnets.c
+++ b/src/core/chatnets.c
@@ -118,7 +118,8 @@ static void sig_connected(SERVER_REC *server)
g_return_if_fail(IS_SERVER(server));
- if (server->connrec->chatnet == NULL)
+ if (server->connrec->chatnet == NULL ||
+ server->session_reconnect)
return;
rec = chatnet_find(server->connrec->chatnet);