nSpamProtectionSettings Class Reference

#include <nSpamProtection.h>

Collaboration diagram for nSpamProtectionSettings:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 nSpamProtectionSettings (REAL timeScale, char const *timeScaleConfig, const tOutput &silence)

Public Attributes

REAL timeScale_
 timescale of the protection
tOutput silence_
 message to send when someone is silenced
tSettingItem< REALtimeScaleSetting_
 setting item for timeScale_


Detailed Description

Definition at line 37 of file nSpamProtection.h.


Constructor & Destructor Documentation

nSpamProtectionSettings::nSpamProtectionSettings ( REAL  timeScale,
char const *  timeScaleConfig,
const tOutput silence 
)

Definition at line 49 of file nSpamProtection.cpp.

00050         : timeScale_( timeScale ), silence_( silence ), timeScaleSetting_( timeScaleConfig, timeScale_ )
00051 {
00052 }


Member Data Documentation

REAL nSpamProtectionSettings::timeScale_

timescale of the protection

Definition at line 40 of file nSpamProtection.h.

Referenced by nSpamProtection::BlockTime(), and nSpamProtection::CheckSpam().

tOutput nSpamProtectionSettings::silence_

message to send when someone is silenced

Definition at line 41 of file nSpamProtection.h.

Referenced by nSpamProtection::CheckSpam().

tSettingItem<REAL> nSpamProtectionSettings::timeScaleSetting_

setting item for timeScale_

Definition at line 42 of file nSpamProtection.h.


The documentation for this class was generated from the following files:
Generated on Sat Mar 15 23:50:57 2008 for Armagetron Advanced by  doxygen 1.5.4