From 17a80c5a8ef43675bf0d6937f35c950d7348f9ee Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 2 Nov 2007 14:01:55 +0000 Subject: Hopefully fix the bursting of xlines to work again (even with unknown types) and also add facility to enumerate them git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8461 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/xline.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') diff --git a/include/xline.h b/include/xline.h index 990934c56..32ae04d5a 100644 --- a/include/xline.h +++ b/include/xline.h @@ -415,6 +415,14 @@ class CoreExport XLineManager */ void CheckELines(); + /** Get all lines of a certain type to an XLineLookup (std::map) + */ + XLineLookup* GetAll(const std::string &type); + + /** Return all known types of line currently stored by the XLineManager + */ + std::vector GetAllTypes(); + /** Add a new GLine * @param line The line to be added * @param user The user adding the line or NULL for the local server -- cgit v1.2.3