diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-31 17:30:18 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-31 17:30:18 +0000 |
commit | 8fcac8d43807466858f7a2269ad4da540570d2b7 (patch) | |
tree | 5c85febed05c1ae354fd783ed93e7a6c978cbb56 /include | |
parent | 4ae08d527280778daf991a38af80956c2b84693b (diff) |
More stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8429 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/xline.h | 16 |
1 files changed, 12 insertions, 4 deletions
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<std::string, std::string> IdentHostPair; |