X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fxline.h;h=d1fe0e8826fb29b33de789b44b00669b95754a0d;hb=7d7250484c352c13830e63ae41ee8faae40a9bd5;hp=6d11256f21a170d36a773764e2bd086fbadd44d3;hpb=8dcc694bb11c35f97c57262c1c03d425dd71686b;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/xline.h b/include/xline.h index 6d11256f2..d1fe0e882 100644 --- a/include/xline.h +++ b/include/xline.h @@ -385,7 +385,7 @@ typedef std::pair IdentHostPair; * does not have to know the specifics of the internals of an XLine class * and/or how to call its constructor. */ -class CoreExport XLineFactory +class CoreExport XLineFactory : public classbase { protected: @@ -415,6 +415,8 @@ class CoreExport XLineFactory */ 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() { } @@ -455,7 +457,7 @@ typedef XLineLookup::iterator LookupIter; * or any other line created by a module. It also manages XLineFactory classes which * can generate a specialized XLine for use by another module. */ -class CoreExport XLineManager +class CoreExport XLineManager : public classbase { protected: /** The owner/creator of this class