summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-12-01 16:08:23 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-12-01 16:08:23 +0000
commitb25d6f0e04033a964cfc8d20b1f2946b0458a357 (patch)
treefa8a042ce9cf63ff7b8c7f116e7e4974d1c6cb0a /src/core
parent1e2cadfa04a889776f02f41ffaf0edca8b64b057 (diff)
downloadirssi-b25d6f0e04033a964cfc8d20b1f2946b0458a357.zip
/CONNECT -! shouldn't send autosendcmds when joining channels.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3035 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core')
-rw-r--r--src/core/channels.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/channels.c b/src/core/channels.c
index 9a92b896..296b1a90 100644
--- a/src/core/channels.c
+++ b/src/core/channels.c
@@ -237,7 +237,8 @@ void channel_send_autocommands(CHANNEL_REC *channel)
g_return_if_fail(IS_CHANNEL(channel));
- if (channel->session_rejoin)
+ if (channel->session_rejoin ||
+ channel->server->connrec->no_autojoin_channels)
return;
rec = channel_setup_find(channel->name, channel->server->connrec->chatnet);