Long text

These are old archives. They are kept for historic purposes only.
Post Reply
WarIRC
Posts: 3
Joined: Mon Aug 16, 2010 5:40 pm

Long text

Post by WarIRC »

Has any module that blocks long text ?? something like limits all messages to be XXX character length
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: Long text

Post by Jobe »

What sort of limit are you looking for as currently, including protocol data, messages are already limited to 512 characters or bytes.
Your IP: Image
Your Country: Image
WarIRC
Posts: 3
Joined: Mon Aug 16, 2010 5:40 pm

Re: Long text

Post by WarIRC »

its a module called m_lenlim.c but i lost it when i made format my PC
bosini
Posts: 8
Joined: Sat Jul 24, 2010 12:16 pm

Re: Long text

Post 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
WordPress rocks phpBB rocks UnrealIRCD rocks but all of them only installed on FreeBSD !!!
siemreap
Posts: 8
Joined: Sun Aug 08, 2010 8:38 am

Re: Long text

Post 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
WarIRC
Posts: 3
Joined: Mon Aug 16, 2010 5:40 pm

Re: Long text

Post by WarIRC »

my request was for a module not for a spamfilter :mrgreen: :mrgreen:
katsklaw
Official supporter
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: Long text

Post by katsklaw »

WarIRC wrote:my request was for a module not for a spamfilter :mrgreen: :mrgreen:
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. :roll:
toXic
Posts: 9
Joined: Sun Feb 28, 2010 10:55 am
Location: Turkey/Samsun

Re: Long text

Post by toXic »

And IRC Commands;

/spamfilter add c block - - .+{250}
Post Reply