summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-03-10 14:28:08 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-03-10 14:28:08 +0000
commit8d245f2ddf28378085b19536aacd7f784e3ff8e8 (patch)
tree46249f5e5f8939716d02664e35d7bd451a645508 /src
parent9293d23da20517037f1c9ba437a5faf1bf6c8e45 (diff)
downloadirssi-8d245f2ddf28378085b19536aacd7f784e3ff8e8.zip
Don't send -autosendcmd after /UPGRADE.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2550 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-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);