From 68a501d70e6006464aae627326eda297ebb728eb Mon Sep 17 00:00:00 2001 From: aunsane Date: Sat, 2 Sep 2017 17:14:46 +0300 Subject: MirLua: m_protocols: - added ability to iterate accounts by protocol name - PROTOCOLDESCRIPTOR is now a valid parameter for CallService and Accounts methods - CallService and Accounts added to PROTOCOLDESCRIPTOR metatable methods --- plugins/MirLua/src/mlua_utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/MirLua/src/mlua_utils.cpp') diff --git a/plugins/MirLua/src/mlua_utils.cpp b/plugins/MirLua/src/mlua_utils.cpp index 5c84fb5c74..f21bd8fcbf 100644 --- a/plugins/MirLua/src/mlua_utils.cpp +++ b/plugins/MirLua/src/mlua_utils.cpp @@ -92,10 +92,10 @@ int luaM_print(lua_State *L) data.AppendFormat("%s(0x%p)", luaL_typename(L, i), lua_topointer(L, i)); break; } - data += '\t'; + data.Append(", "); } if (data.GetLength() >= 1) - data.Delete(data.GetLength() - 1, 1); + data.Delete(data.GetLength() - 2, 2); Log(data.GetBuffer()); -- cgit v1.2.3