summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/m_database.cpp
diff options
context:
space:
mode:
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));