feat: cleanup keys/cmd handlers when loading a plugin

This commit is contained in:
Folke Lemaitre 2022-12-03 23:15:50 +01:00
parent c98e722fa4
commit 3f517abfa4
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
6 changed files with 154 additions and 99 deletions

View file

@ -382,7 +382,7 @@ function M:details(plugin)
end
end)
for handler in pairs(Handler.handlers) do
for handler in pairs(Handler.types) do
if plugin[handler] then
table.insert(props, {
handler,