4 // include the common header files
16 /** XLine is the base class for ban lines such as G lines and K lines.
18 class XLine : public classbase
21 /** The time the line was added.
25 /** The duration of the ban, or 0 if permenant
29 /** Source of the ban. This can be a servername or an oper nickname
33 /** Reason for the ban
37 /** Number of times the core matches the ban, for statistics
43 class KLine : public XLine
45 /** Hostmask (ident@host) to match against
46 * May contain wildcards.
48 char hostmask[MAXBUF];
51 class GLine : public XLine
53 /** Hostmask (ident@host) to match against
54 * May contain wildcards.
56 char hostmask[MAXBUF];
59 class ZLine : public XLine
61 /** IP Address (xx.yy.zz.aa) to match against
62 * May contain wildcards and may be CIDR
67 class QLine : public XLine
69 /** Nickname to match against.
70 * May contain wildcards.