From 8fcac8d43807466858f7a2269ad4da540570d2b7 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 31 Oct 2007 17:30:18 +0000 Subject: More stuff git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8429 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/xline.h | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/xline.h b/include/xline.h index cca0e9b76..b8b045fd5 100644 --- a/include/xline.h +++ b/include/xline.h @@ -79,6 +79,8 @@ class CoreExport XLine : public classbase virtual void DisplayExpiry() = 0; + virtual const char* Displayable() = 0; + virtual void OnAdd() { } /** The time the line was added. @@ -145,6 +147,8 @@ class CoreExport KLine : public XLine virtual void DisplayExpiry(); + virtual const char* Displayable(); + /** Ident mask */ char* identmask; @@ -194,6 +198,8 @@ class CoreExport GLine : public XLine virtual void DisplayExpiry(); + virtual const char* Displayable(); + /** Ident mask */ char* identmask; @@ -243,6 +249,8 @@ class CoreExport ELine : public XLine virtual void OnAdd(); + virtual const char* Displayable(); + /** Ident mask */ char* identmask; @@ -287,6 +295,8 @@ class CoreExport ZLine : public XLine virtual void DisplayExpiry(); + virtual const char* Displayable(); + /** IP mask */ char* ipaddr; @@ -326,6 +336,8 @@ class CoreExport QLine : public XLine virtual void DisplayExpiry(); + virtual const char* Displayable(); + /** Nickname mask */ char* nick; @@ -336,10 +348,6 @@ class CoreExport QLine : public XLine class ServerConfig; class InspIRCd; -/** Done adding elines from the config - */ -bool DoneELine(ServerConfig* conf, const char* tag); - /** Contains an ident and host split into two strings */ typedef std::pair IdentHostPair; -- cgit v1.2.3