summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-07-14 11:37:39 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-07-14 11:37:39 +0000
commita5983f7d5999e6488e4b21fb17fa1d7702ecfb03 (patch)
tree1efe77345af957e40fc9bdc90b3824903708a2fb /plugins/MirLua/src/mlua.cpp
parente13b6b468a19ab498231c338bdda07f7028fb1df (diff)
MirLua: added single script reloading
git-svn-id: http://svn.miranda-ng.org/main/trunk@14557 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/mlua.cpp')
-rw-r--r--plugins/MirLua/src/mlua.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/MirLua/src/mlua.cpp b/plugins/MirLua/src/mlua.cpp
index 6ce1b2d3f0..2fabce2740 100644
--- a/plugins/MirLua/src/mlua.cpp
+++ b/plugins/MirLua/src/mlua.cpp
@@ -75,6 +75,11 @@ void CMLua::Reload()
Load();
}
+void CMLua::Reload(const TCHAR* path)
+{
+ CLuaScriptLoader::Reload(g_mLua->L, path);
+}
+
void CMLua::KillModuleEventHooks()
{
while (Hooks.getCount())