diff options
Diffstat (limited to 'src/core/chatnets.c')
-rw-r--r-- | src/core/chatnets.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/chatnets.c b/src/core/chatnets.c index c307afda..376fab58 100644 --- a/src/core/chatnets.c +++ b/src/core/chatnets.c @@ -118,12 +118,11 @@ static void sig_connected(SERVER_REC *server) g_return_if_fail(IS_SERVER(server)); - if (server->connrec->chatnet == NULL || server->session_reconnect || - server->connrec->no_autojoin_channels) + if (server->connrec->chatnet == NULL || server->session_reconnect) return; rec = chatnet_find(server->connrec->chatnet); - if (rec != NULL && rec->autosendcmd) + if (!server->connrec->no_autosendcmd && rec != NULL && rec->autosendcmd) eval_special_string(rec->autosendcmd, "", server, NULL); } |