From 9e06871a877449ac8cf2f002893a3d22f9eb1a4f Mon Sep 17 00:00:00 2001 From: capossele <angelocapossele@gmail.com> Date: Thu, 23 Apr 2020 17:24:36 +0100 Subject: [PATCH] :bone: gives a bone to the watchdog --- plugins/drng/plugin.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plugins/drng/plugin.go b/plugins/drng/plugin.go index 253d17e4..34afb9fe 100644 --- a/plugins/drng/plugin.go +++ b/plugins/drng/plugin.go @@ -64,8 +64,5 @@ func configureEvents() { // Enabled returns the enabled status of the plugin func Enabled() bool { - if Plugin.Status == node.Disabled { - return false - } - return true + return Plugin.Status != node.Disabled } -- GitLab