diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-07-12 10:53:31 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-07-12 10:53:31 +0000 |
commit | 8f0b1082d8eb9927ab2fdb8e00328df69d198c9a (patch) | |
tree | 9b95e8e4006ae5de86530689eae2be6f376815d3 /include/xline.h | |
parent | 3798e67d95a44e50ce55b0bd25dc693aca56f318 (diff) |
Add XLineManager::DelAll to delete all lines of a given type.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9975 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/xline.h')
-rw-r--r-- | include/xline.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/xline.h b/include/xline.h index d1fe0e882..4be5922d0 100644 --- a/include/xline.h +++ b/include/xline.h @@ -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. */ |