ConnectClass() : registration_timeout(0), flood(0), host(""), pingtime(0), pass(""), threshold(0), sendqmax(0), recvqmax(0)
{
ConnectClass() : registration_timeout(0), flood(0), host(""), pingtime(0), pass(""), threshold(0), sendqmax(0), recvqmax(0)
{
/** The host displayed to non-opers (used for cloaking etc).
* This usually matches the value of userrec::host.
*/
/** The host displayed to non-opers (used for cloaking etc).
* This usually matches the value of userrec::host.
*/
+
+ /** This contains a bitmask of the RFC modes +swi,
+ * which can be used for fast lookup when iterating all the users.
+ * It is maintained by the mode parser and matches the character
+ * modes stored in 'modes'.
+ */
+ char modebits;
void AddOper(userrec* user);
void DeleteOper(userrec* user);
void kill_link(userrec *user,const char* r);
void kill_link_silent(userrec *user,const char* r);
void AddWhoWas(userrec* u);
void AddOper(userrec* user);
void DeleteOper(userrec* user);
void kill_link(userrec *user,const char* r);
void kill_link_silent(userrec *user,const char* r);
void AddWhoWas(userrec* u);
-void AddClient(int socket, char* host, int port, bool iscached, char* ip);
+void MaintainWhoWas(time_t TIME);
+void AddClient(int socket, int port, bool iscached, in_addr ip4);
userrec* ReHashNick(char* Old, char* New);
void force_nickchange(userrec* user,const char* newnick);
userrec* ReHashNick(char* Old, char* New);
void force_nickchange(userrec* user,const char* newnick);