[DONE] Channel Auto-Join by port

These are old archives. They are kept for historic purposes only.

Moderators: Gottem, Supporters

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

[DONE] Channel Auto-Join by port

Post 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
Gottem
UnrealIRCd coder
Posts: 192
Joined: Fri Aug 19, 2016 5:26 pm
Location: NL

Re: [DONE] Channel Auto-Join by port

Post 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. =]
If you like my modules, pls consider donating (credit card or iDEAL, use the custom job fee option in my shop) ;];]
Post Reply