[DONE] Disallow private messaging for "too new" users

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

Moderators: Gottem, Supporters

Post Reply
Gottem
UnrealIRCd coder
Posts: 192
Joined: Fri Aug 19, 2016 5:26 pm
Location: NL

[DONE] Disallow private messaging for "too new" users

Post by Gottem »

This module disallows freshly connected clients trying to send private messages until exceeding a certain timeout, like bots connecting and immediately spamming actual users in private. Simply load the module and add one directive to your unrealircd.conf, for which see below. Messages from opers, servers and U:Lines are exempt for obvious reasons, also sending to U:Lines (m-muh /ns identify). ;]

Config block:

Code: Select all

set {
	// Rest of the set block goes here obv, like kline-address, network-name, etc
	pmdelay 60;
};
Above example sets the delay to 60 seconds. The minimum required is 10 as anything below seems useless while having this module loaded. =]

Get it here.
If you like my modules, pls consider donating (credit card or iDEAL, use the custom job fee option in my shop) ;];]
Post Reply