[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.
This commit is contained in:
Ekkie 2023-03-24 20:54:22 +01:00
parent b12406076b
commit 2dc87f7763
2 changed files with 2 additions and 4 deletions

View File

@ -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 = {

View File

@ -1,3 +1 @@
connect newnet
join #club
join #meta