summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/users.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h
index 901b30321..8a71bf67e 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.