[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:
parent
b12406076b
commit
2dc87f7763
|
@ -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 = {
|
||||
|
|
|
@ -1,3 +1 @@
|
|||
connect newnet
|
||||
join #club
|
||||
join #meta
|
||||
|
|
Loading…
Reference in New Issue