summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/m_database.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-10-25 21:13:21 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-10-25 21:13:21 +0000
commit40378e91063c869f86a0bcdd1bb4136959782f54 (patch)
tree6b21e15c5a0c3987e8f5f9eb8dfb6dee896d2c45 /plugins/MirLua/src/m_database.cpp
parentbd2012df449189b084c4a70d2f42ef509ee5e55c (diff)
MirLua: added metatables for PROTOCOLDESCRIPTOR and PROTOACCOUNT in m_protocols
git-svn-id: http://svn.miranda-ng.org/main/trunk@15617 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/m_database.cpp')
-rw-r--r--plugins/MirLua/src/m_database.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirLua/src/m_database.cpp b/plugins/MirLua/src/m_database.cpp
index bd21d1ec26..1854f5d1e1 100644
--- a/plugins/MirLua/src/m_database.cpp
+++ b/plugins/MirLua/src/m_database.cpp
@@ -344,8 +344,8 @@ static int lua_SettingIterator(lua_State *L)
static int lua_AllSettings(lua_State *L)
{
- const char* szModule = luaL_checkstring(L, 1);
- MCONTACT hContact = lua_tointeger(L, 2);
+ MCONTACT hContact = lua_tointeger(L, 1);
+ const char* szModule = luaL_checkstring(L, 2);
enumDBSettingsParam* param = (enumDBSettingsParam*)mir_alloc(sizeof(enumDBSettingsParam));
param->count = 0;