Page 1 of 1

[DONE] Channel Auto-Join by port

Posted: Sun Jul 23, 2017 11:01 pm
by rcschaff
Similar to "set auto-join", however only auto join people to a channel when the connect to a specific port.

Ex: port 6667 join #non-ssl
port 7000 join #ssl

Re: [DONE] Channel Auto-Join by port

Posted: Mon Jul 24, 2017 5:58 pm
by Gottem
Done. =]

Config block:

Code: Select all

autojoin_byport {
	6667 "#plain";
	6697 "#ssl,#ssl2";
};
Should be pretty clear how that works. ;] Currently it doesn't check for duplicates or max channels, so bnice. It does check for valid channel names/lengths and port ranges. =]