summaryrefslogtreecommitdiff
path: root/plugins/MirLua
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-02-21 18:39:33 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-02-21 18:39:33 +0300
commit06e4b579a26dc7bac30aa33edf55c986e03b1525 (patch)
tree6da7cfe30118828ece7e3974824c0db8f065c563 /plugins/MirLua
parent9cf103c9683733f00ba923a899d85224b676be78 (diff)
compilation fix
Diffstat (limited to 'plugins/MirLua')
-rw-r--r--plugins/MirLua/src/plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/plugin.cpp b/plugins/MirLua/src/plugin.cpp
index 9376355a7f..b6dba83f2e 100644
--- a/plugins/MirLua/src/plugin.cpp
+++ b/plugins/MirLua/src/plugin.cpp
@@ -46,7 +46,7 @@ void CMPlugin::UnloadLuaScripts()
{
for (auto &script : m_scripts.rev_iter()) {
script->Unload();
- delete m_scripts.removeItem(&script);
+ m_scripts.removeItem(&script);
}
}