AntiFlood Class Reference

Plugin that able the bot to detect flood. More...

#include <antiflood.h>

Inheritance diagram for AntiFlood:

Plugin

List of all members.

Public Member Functions

 AntiFlood (BotKernel *)
 Constructor.


Detailed Description

Plugin that able the bot to detect flood.

trustyRC use an anti-excess-flood system build in the kernel that controls output messages flow to make sure that the bot won't be killed by the server for "excess flood". This system make that the bot can sometimes take some time to answer. The main case is when a lot of users use bot's commands : the kernel will store answers and people will think that the bot lags. It can be considered as a flood attack from users. To avoid this problem, this plugin will watch messages' timestamps and if a message to treat is too old, it will drop it. Of course, only PRIVMSG are concerned, to don't drop a "PING" command for example. A configuration parameters exists to don't drop messages if they come from a super admin, even if there timestamp is too old.

Definition at line 51 of file antiflood.h.


Constructor & Destructor Documentation

AntiFlood::AntiFlood ( BotKernel b  ) 


The documentation for this class was generated from the following files:

Generated on Sun Aug 16 15:28:35 2009 for trustyRC by  doxygen 1.5.8