summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-05 09:57:15 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-05 09:57:15 +0000
commit7ceac8fd6fe755e3374e9f809a11179733ca038a (patch)
tree09ef303ffda3d0735f49b1dfb852c3f489e0fcff /include/users.h
parent07c6999de2beb1a7bab172ecd1f3a27ca6ec8ca4 (diff)
Fix for bug ID #6 (excessively long commands)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@385 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/users.h')
-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.