summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/m_database.cpp
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2017-09-02 22:38:22 +0300
committeraunsane <aunsane@gmail.com>2017-09-02 22:38:22 +0300
commit8ee803c41a67156d6a9e6286e79ea5bdaa2ec292 (patch)
treecde4b355e39808c1052644f58b0f74601752d488 /plugins/MirLua/src/m_database.cpp
parentbc4da963e5ebc651d1d7839a4da39ba59dfa4ea0 (diff)
MirLua: m_enumerable: added constructor function
Diffstat (limited to 'plugins/MirLua/src/m_database.cpp')
-rw-r--r--plugins/MirLua/src/m_database.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_database.cpp b/plugins/MirLua/src/m_database.cpp
index 9619b36584..0e40c92bee 100644
--- a/plugins/MirLua/src/m_database.cpp
+++ b/plugins/MirLua/src/m_database.cpp
@@ -88,7 +88,7 @@ static int db_GetContactInfo(lua_State *L)
type = luaL_checkoption(L, 2, NULL, mods) + 1;
break;
default:
- luaL_argerror(L, 1, luaL_typename(L, 2));
+ luaL_argerror(L, 2, luaL_typename(L, 2));
}
ptrW value(Contact_GetInfo(type, hContact));