From 316457a1de19d8b44b0a477e8cbc9d7161489864 Mon Sep 17 00:00:00 2001 From: Michael Schmoock Date: Sat, 30 Jan 2021 14:36:26 +0100 Subject: [PATCH] doc: make rpc_command hook chainable --- doc/PLUGINS.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/PLUGINS.md b/doc/PLUGINS.md index 644f3a254..ac115d8c2 100644 --- a/doc/PLUGINS.md +++ b/doc/PLUGINS.md @@ -1198,6 +1198,9 @@ Return a custom error to the request sender: } ``` +Note: The `rpc_command` hook is chainable. If two or more plugins try to +replace/result/error the same `method`, only the first plugin in the chain +will be respected. Others will be ignored and a warning will be logged. ### `custommsg`