[DONE] Channel Auto-Join by port

Need a module converted from 3.2.x to UnrealIRCd 4? Or looking for a certain module? Ask here.

Moderators: Gottem, Supporters

Post Reply
rcschaff
Posts: 52
Joined: Sun Jan 15, 2017 5:06 pm

[DONE] Channel Auto-Join by port

Post by rcschaff » Sun Jul 23, 2017 11:01 pm

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

Gottem
Posts: 127
Joined: Fri Aug 19, 2016 5:26 pm
Location: NL

Re: [DONE] Channel Auto-Join by port

Post by Gottem » Mon Jul 24, 2017 5:58 pm

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. =]
If you like my modules, pls consider donating (through PayPal) ;];]

Post Reply