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, 3 insertions, 0 deletions
diff --git a/src/core/channels.c b/src/core/channels.c
index 8dd63ab7..6add0b82 100644
--- a/src/core/channels.c
+++ b/src/core/channels.c
@@ -199,6 +199,9 @@ void channel_send_autocommands(CHANNEL_REC *channel)
g_return_if_fail(IS_CHANNEL(channel));
+ if (channel->session_rejoin)
+ return;
+
rec = channel_setup_find(channel->name, channel->server->connrec->chatnet);
if (rec == NULL || rec->autosendcmd == NULL || !*rec->autosendcmd)
return;