chore: fix when load plugins, update loaded file error

This commit is contained in:
Rory Z 2022-06-11 17:34:22 +08:00
parent 37072bdcfd
commit 9975f3dda8
1 changed files with 2 additions and 1 deletions

View File

@ -387,7 +387,8 @@ plugin_loaded(_Name, false) ->
ok;
plugin_loaded(Name, true) ->
case read_loaded() of
{ok, Names} ->
{ok, Names0} ->
Names = filter_plugins(Names0),
case lists:member(Name, Names) of
false ->
%% write file if plugin is loaded