X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fxline.h;h=886034bbafd81df76658a621dc28bf3b9ea0ef8e;hb=9526135e338e983b574040f17ba34baa4af59487;hp=d1fe0e8826fb29b33de789b44b00669b95754a0d;hpb=ef30d86d11696bb7ca639ae7a156a0c91d396cdb;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/xline.h b/include/xline.h index d1fe0e882..886034bba 100644 --- a/include/xline.h +++ b/include/xline.h @@ -439,7 +439,7 @@ typedef std::map XLineFactMap; /** A map of XLines indexed by string */ -typedef std::map XLineLookup; +typedef std::map XLineLookup; /** A map of XLineLookup maps indexed by string */ @@ -517,6 +517,10 @@ class CoreExport XLineManager : public classbase */ XLineLookup* GetAll(const std::string &type); + /** Remove all lines of a certain type. + */ + void DelAll(const std::string &type); + /** Return all known types of line currently stored by the XLineManager. * @return A vector containing all known line types currently stored in the main list. */