]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/ctables.h
Add ProtocolInterface::BroadcastEncap() and infrastructure for manually forwarding...
[user/henk/code/inspircd.git] / include / ctables.h
index 81b841e81ad1f2686a97f2334a854acd10909e75..a69f5c86f65e14c3fc18ae7abdd75b4deee4905c 100644 (file)
@@ -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)
        {
        }