X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fctables.h;h=a69f5c86f65e14c3fc18ae7abdd75b4deee4905c;hb=869fd6ca2822ef45ad7c3939b9ab7418200daf3e;hp=81b841e81ad1f2686a97f2334a854acd10909e75;hpb=11916574f67962dce1d7a2fdf7ef6a3d2d1fa49f;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/ctables.h b/include/ctables.h index 81b841e81..a69f5c86f 100644 --- a/include/ctables.h +++ b/include/ctables.h @@ -224,8 +224,14 @@ class CoreExport CommandBase : public ServiceProvider class CoreExport Command : public CommandBase { public: + /** If true, the command will not be forwarded by the linking module even if it comes via ENCAP. + * Can be used to forward commands before their effects. + */ + bool force_manual_route; + Command(Module* me, const std::string& cmd, unsigned int minpara = 0, unsigned int maxpara = 0) : CommandBase(me, cmd, minpara, maxpara) + , force_manual_route(false) { }