Page 1 of 1
Disabling flood for certain user ?
Posted: Fri Apr 29, 2005 7:02 am
by ]Godlike[
How can i disable a server (Excess flood) protection for one user ?
So he doesnt get flooded off the server.
thx.
Re: Disabling flood for certain user ?
Posted: Fri Apr 29, 2005 3:20 pm
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.
Posted: Fri Apr 29, 2005 8:19 pm
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...
Posted: Sat Apr 30, 2005 8:03 am
by Ron2K
Could this be done by means of a module?
Not that I know any C... just curious.
Posted: Sat Apr 30, 2005 12:41 pm
by w00t
mm, if you just reset their flood, probably. I don't really know.
Posted: Sun May 01, 2005 5:05 am
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.