diff options
author | Robin Gareus <robin@gareus.org> | 2020-02-28 04:34:54 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-02-28 04:34:54 +0100 |
commit | bf3a36a126f646a8845bee4ba933e88b24a9c6e1 (patch) | |
tree | 2d6e908044e10e629a42645bdf9fb4bbd3e142ed /share | |
parent | 1af5f37e4698c2e3c0edf195c23734834d426ea0 (diff) |
Fix script to bypass all plugins
deactivate() hard bypassed all plugins, this made plugins with
a dedicated en/disable soft-bypass option inaccessible.
Diffstat (limited to 'share')
-rw-r--r-- | share/scripts/bypass_all_plugins.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/scripts/bypass_all_plugins.lua b/share/scripts/bypass_all_plugins.lua index 913228101f..5839ef8c4d 100644 --- a/share/scripts/bypass_all_plugins.lua +++ b/share/scripts/bypass_all_plugins.lua @@ -15,7 +15,7 @@ function factory () return function () if proc:isnil () then break end - proc:to_insert():deactivate() + proc:to_insert():enable (false) i = i + 1 end end |