From b25d6f0e04033a964cfc8d20b1f2946b0458a357 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 1 Dec 2002 16:08:23 +0000 Subject: /CONNECT -! shouldn't send autosendcmds when joining channels. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3035 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/channels.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/channels.c') 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); -- cgit v1.2.3