summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/src')
-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 f74c869ae7..a4ac7f1de6 100644
--- a/plugins/MirLua/src/m_database.cpp
+++ b/plugins/MirLua/src/m_database.cpp
@@ -442,10 +442,10 @@ static int db_GetSetting(lua_State *L)
lua_pushvalue(L, 4);
return 1;
}
-
+ lua_pushinteger(L, dbv.type);
db_free(&dbv);
- return 1;
+ return 2;
}
static int db_WriteSetting(lua_State *L)