X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fusers.h;h=d20de55a3a83ca181763e91ee9548e233b304383;hb=052dde3aead635863aaefbdafeae5daa6d8eecf8;hp=901b303215b654cc4f62307ea2c6707b7c7e8984;hpb=dae8024a466a0a90f03222d31e34555b9b612509;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/users.h b/include/users.h index 901b30321..d20de55a3 100644 --- a/include/users.h +++ b/include/users.h @@ -35,8 +35,16 @@ class ConnectClass : public classbase { public: int type; + int registration_timeout; char host[MAXBUF]; char pass[MAXBUF]; + + ConnectClass() + { + registration_timeout = 0; + strcpy(host,""); + strcpy(pass,""); + } }; /** Holds a complete list of all channels to which a user has been invited and has not yet joined. @@ -105,6 +113,8 @@ class userrec : public connection */ char result[256]; + unsigned long timeout; + userrec(); virtual ~userrec() { }