summaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/once_received.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-22 23:17:13 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-22 23:17:13 +0100
commita1dc1fd0591d0880c1537c4032d404cc748537f6 (patch)
tree497e69592a60d07aaf1c8d6474ad61701261b373 /src/plugins/lua/once_received.lua
parentd34b7a2f737214e517f1c7945d009bc8282a9d70 (diff)
downloadrspamd-a1dc1fd0591d0880c1537c4032d404cc748537f6.tar.gz
rspamd-a1dc1fd0591d0880c1537c4032d404cc748537f6.zip
[Fix] Detect confighelp in plugins initialisation
Diffstat (limited to 'src/plugins/lua/once_received.lua')
-rw-r--r--src/plugins/lua/once_received.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/lua/once_received.lua b/src/plugins/lua/once_received.lua
index e1eea2ca5..e6dd44436 100644
--- a/src/plugins/lua/once_received.lua
+++ b/src/plugins/lua/once_received.lua
@@ -14,6 +14,10 @@ See the License for the specific language governing permissions and
limitations under the License.
]]--
+if confighelp then
+ return
+end
+
-- 0 or 1 received: = spam
local symbol = 'ONCE_RECEIVED'