diff options
Diffstat (limited to 'plugins/MirLua/src/mlua_script.cpp')
-rw-r--r-- | plugins/MirLua/src/mlua_script.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/MirLua/src/mlua_script.cpp b/plugins/MirLua/src/mlua_script.cpp index 83b5008e15..9e4cc4ffbe 100644 --- a/plugins/MirLua/src/mlua_script.cpp +++ b/plugins/MirLua/src/mlua_script.cpp @@ -44,17 +44,17 @@ const wchar_t* CMLuaScript::GetFileName() const bool CMLuaScript::IsEnabled()
{
- return db_get_b(NULL, MODULE, _T2A(fileName), 1);
+ return db_get_b(NULL, MODULENAME, _T2A(fileName), 1);
}
void CMLuaScript::Enable()
{
- db_unset(NULL, MODULE, _T2A(fileName));
+ db_unset(NULL, MODULENAME, _T2A(fileName));
}
void CMLuaScript::Disable()
{
- db_set_b(NULL, MODULE, _T2A(fileName), 0);
+ db_set_b(NULL, MODULENAME, _T2A(fileName), 0);
}
CMLuaScript::Status CMLuaScript::GetStatus() const
|