Disabling flood for certain user ?

These are old archives. They are kept for historic purposes only.
Post Reply
]Godlike[
Posts: 17
Joined: Sat Jan 15, 2005 10:27 pm

Disabling flood for certain user ?

Post by ]Godlike[ »

How can i disable a server (Excess flood) protection for one user ?
So he doesnt get flooded off the server.


thx.
Shelluser
Posts: 38
Joined: Tue Feb 01, 2005 8:30 pm
Location: The Netherlands
Contact:

Re: Disabling flood for certain user ?

Post by Shelluser »

]Godlike[ wrote:How can i disable a server (Excess flood) protection for one user ?
The only way I'm aware of is by adding another class block and making sure that the user falls within it. Then raise the sendq/recq settings and setup an extra allow{} block so that the user is put in the right class block.
With kind regards, Peter

NekoNet IRC
www.neko-net.org / [url=irc://irc.neko-net.org:6667]irc.neko-net.org[/url]
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

That still won't disable flood protection entirely for that user. In fact, the recvq is limited to 32KB IIRC. Currently, in order to make a user completely unaffected by the flood protection, you'd have to give him an oline...
Ron2K

Post by Ron2K »

Could this be done by means of a module?

Not that I know any C... just curious.
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

mm, if you just reset their flood, probably. I don't really know.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

You could constantly reset the cptr->since value to 'now' (using unreal's now variable or something like time(NULL)), but it may be simpler to set some flag. Unfortunately, the only flag that'll gauruntee to do that is UMODE_OPER. I think the rest is obvious.
Post Reply