summaryrefslogtreecommitdiff
path: root/src/core/channels.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/channels.c')
-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);