summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_utils.cpp
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2017-09-02 17:14:46 +0300
committeraunsane <aunsane@gmail.com>2017-09-02 17:28:15 +0300
commit68a501d70e6006464aae627326eda297ebb728eb (patch)
treea6eac3a46db867f43175f6e01ac16aa3c5960bc0 /plugins/MirLua/src/mlua_utils.cpp
parentd8b2d58e284e2d77354ab99913901b31ee5d2eeb (diff)
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
Diffstat (limited to 'plugins/MirLua/src/mlua_utils.cpp')
-rw-r--r--plugins/MirLua/src/mlua_utils.cpp4
1 files changed, 2 insertions, 2 deletions
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());