#include <nSpamProtection.h>
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< REAL > | timeScaleSetting_ |
setting item for timeScale_ |
Definition at line 37 of file nSpamProtection.h.
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 }
timescale of the protection
Definition at line 40 of file nSpamProtection.h.
Referenced by nSpamProtection::BlockTime(), and nSpamProtection::CheckSpam().
message to send when someone is silenced
Definition at line 41 of file nSpamProtection.h.
Referenced by nSpamProtection::CheckSpam().