s_user_to_lag Struct Reference

Collaboration diagram for s_user_to_lag:

Collaboration graph
[legend]
List of all members.

Detailed Description

Stores information about usage of DCC requests for users. Used for flood protection.

Author:
VooDooMan
Version:
1
Date:
2004

Definition at line 758 of file dcc.cpp.

Public Member Functions

 s_user_to_lag ()

Public Attributes

int cnt
 Number of DCC requests.
time_t last_try
 Timestamp of last try from user.
bool notified
 Has been user notified about its flood?
string user_name
 Name of user from "logic.txt".


Constructor & Destructor Documentation

s_user_to_lag::s_user_to_lag  )  [inline]
 

Definition at line 764 of file dcc.cpp.

References cnt, last_try, notified, and user_name.

00764                     {
00765         user_name="";
00766         cnt=0;
00767         last_try=0;
00768         notified=false;
00769     }


Member Data Documentation

int s_user_to_lag::cnt
 

Number of DCC requests.

Definition at line 760 of file dcc.cpp.

Referenced by irc_quoted_callback(), and s_user_to_lag().

time_t s_user_to_lag::last_try
 

Timestamp of last try from user.

Definition at line 761 of file dcc.cpp.

Referenced by irc_quoted_callback(), and s_user_to_lag().

bool s_user_to_lag::notified
 

Has been user notified about its flood?

Definition at line 762 of file dcc.cpp.

Referenced by irc_quoted_callback(), and s_user_to_lag().

string s_user_to_lag::user_name
 

Name of user from "logic.txt".

Definition at line 759 of file dcc.cpp.

Referenced by irc_quoted_callback(), and s_user_to_lag().


The documentation for this struct was generated from the following file:
Generated on Sun Jul 10 05:45:50 2005 for VooDoo cIRCle by doxygen 1.4.3

Hosted by SourceForge.net Logo