]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/xline.h
Add and document <shun:enabledcommands>, allowing customisation of specifically which...
[user/henk/code/inspircd.git] / include / xline.h
index 2670f4babbb9457b5fc8454ebc6371727aa5b077..4be5922d096543e6a095193696165297f06279a8 100644 (file)
@@ -415,6 +415,8 @@ class CoreExport XLineFactory : public classbase
         */
        virtual XLine* Generate(time_t set_time, long duration, const char* source, const char* reason, const char* xline_specific_mask) = 0;
 
+       virtual bool AutoApplyToUserList(XLine* x) { return true; }
+
        /** Destructor
         */
        virtual ~XLineFactory() { }
@@ -515,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.
         */