summaryrefslogtreecommitdiff
path: root/include/xline.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-12 19:09:42 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-12 19:09:42 +0000
commit194838af39aa5fc823571afe9d61b2453573a32d (patch)
treeb532e27e75d95dcfa56d83ef70924e71ea247464 /include/xline.h
parent2cd3b57fe08b6cdae5d99021252898dedd3a0650 (diff)
Changed the type of struct whowas records are stored in (no need to waste a big heavy userrec)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1369 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/xline.h')
-rw-r--r--include/xline.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/xline.h b/include/xline.h
index 5381d525a..d6b4e5cb4 100644
--- a/include/xline.h
+++ b/include/xline.h
@@ -45,7 +45,7 @@ class XLine : public classbase
/** Source of the ban. This can be a servername or an oper nickname
*/
- char source[MAXBUF];
+ char source[256];
/** Reason for the ban
*/
@@ -65,7 +65,7 @@ class KLine : public XLine
/** Hostmask (ident@host) to match against
* May contain wildcards.
*/
- char hostmask[MAXBUF];
+ char hostmask[200];
};
/** GLine class
@@ -76,7 +76,7 @@ class GLine : public XLine
/** Hostmask (ident@host) to match against
* May contain wildcards.
*/
- char hostmask[MAXBUF];
+ char hostmask[200];
};
class ELine : public XLine
@@ -85,7 +85,7 @@ class ELine : public XLine
/** Hostmask (ident@host) to match against
* May contain wildcards.
*/
- char hostmask[MAXBUF];
+ char hostmask[200];
};
/** ZLine class
@@ -96,7 +96,7 @@ class ZLine : public XLine
/** IP Address (xx.yy.zz.aa) to match against
* May contain wildcards.
*/
- char ipaddr[MAXBUF];
+ char ipaddr[40];
/** Set if this is a global Z:line
* (e.g. it came from another server)
*/
@@ -111,7 +111,7 @@ class QLine : public XLine
/** Nickname to match against.
* May contain wildcards.
*/
- char nick[MAXBUF];
+ char nick[64];
/** Set if this is a global Z:line
* (e.g. it came from another server)
*/