From 2dc87f77631cdf5341278d42174b715f4992befe Mon Sep 17 00:00:00 2001 From: Ekkie Date: Fri, 24 Mar 2023 20:54:22 +0100 Subject: [PATCH] [irssi-conf] Autojoin in config, not startup Before, the startup file tries connecting to the default network and join two channels. However, since irssi just executes the startup file line by line with little logic behind it, it tries joining the channels while the user is still connecting. Instead, this commit sets the channels to autojoin, which only triggers once the user is connected and, if configured properly, authenticated. --- .irssi/config | 4 ++-- .irssi/startup | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.irssi/config b/.irssi/config index 6581c16..59be582 100644 --- a/.irssi/config +++ b/.irssi/config @@ -13,8 +13,8 @@ chatnets = { }; channels = ( - { name = "#club"; chatnet = "newnet"; autojoin = "No"; } - { name = "#meta"; chatnet = "newnet"; autojoin = "No"; } + { name = "#club"; chatnet = "newnet"; autojoin = "yes"; } + { name = "#meta"; chatnet = "newnet"; autojoin = "yes"; } ); aliases = { diff --git a/.irssi/startup b/.irssi/startup index d57352b..fdf0915 100644 --- a/.irssi/startup +++ b/.irssi/startup @@ -1,3 +1 @@ connect newnet -join #club -join #meta