Nicify webadmin interface for flood protection.

This commit is contained in:
Alexey Sokolov
2012-03-22 13:22:13 +07:00
parent 19dff7cded
commit e83efead26
4 changed files with 44 additions and 5 deletions
+3
View File
@@ -100,6 +100,9 @@ public:
// This handles NAMESX and UHNAMES in a raw 353 reply
void ForwardRaw353(const CString& sLine) const;
void ForwardRaw353(const CString& sLine, CClient* pClient) const;
// TODO move this function to CIRCNetwork and make it non-static?
static bool IsFloodProtected(double fRate);
private:
void SetNick(const CString& sNick);
void ParseISupport(const CString& sLine);