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

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

Moderators: Gottem, Supporters

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

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

Post by Gottem » Wed Mar 15, 2017 8:05 pm

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 (through PayPal) or becoming a monthly Patron ;];]

Post Reply