Page 1 of 1
Long text
Posted: Mon Aug 16, 2010 5:48 pm
by WarIRC
Has any module that blocks long text ?? something like limits all messages to be XXX character length
Re: Long text
Posted: Tue Aug 17, 2010 1:14 am
by Jobe
What sort of limit are you looking for as currently, including protocol data, messages are already limited to 512 characters or bytes.
Re: Long text
Posted: Tue Aug 17, 2010 1:01 pm
by WarIRC
its a module called m_lenlim.c but i lost it when i made format my PC
Re: Long text
Posted: Tue Aug 17, 2010 6:06 pm
by bosini
*** m_lenlim (Limits all messages to be 190 character length..
i was looking for that module too but i cant find it anywhere if anyone have it can you guys please give it us here??
thanks in advance
Re: Long text
Posted: Fri Aug 20, 2010 7:20 am
by siemreap
WarIRC wrote:Has any module that blocks long text ?? something like limits all messages to be XXX character length
Is it something like this:
spamfilter {
regex ".{250}";
target { channel; };
action block;
reason "Too long text";
};
by X-TREM on Tue Aug 16, 2005 12:30 am from thread
http://forums.unrealircd.com/viewtopic. ... ext#p13101
Re: Long text
Posted: Sun Aug 29, 2010 5:55 pm
by WarIRC
my request was for a module not for a spamfilter

Re: Long text
Posted: Sun Aug 29, 2010 9:52 pm
by katsklaw
WarIRC wrote:my request was for a module not for a spamfilter

Why re-invent the wheel? spamfilter is better performance wise, takes less resources, doesn't need to be (re)compiled or (re/un)loaded, can be changed with a /rehash, is already included. spamfilter is far superior to a module.
Module coders are going to already know this and me personally I wouldn't write a module that does what the core can already do.

Re: Long text
Posted: Tue Sep 14, 2010 5:21 pm
by toXic
And IRC Commands;
/spamfilter add c block - - .+{250}