summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/m_clist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/src/m_clist.cpp')
-rw-r--r--plugins/MirLua/src/m_clist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_clist.cpp b/plugins/MirLua/src/m_clist.cpp
index 1d451250f7..70ac7ebfe3 100644
--- a/plugins/MirLua/src/m_clist.cpp
+++ b/plugins/MirLua/src/m_clist.cpp
@@ -40,7 +40,7 @@ static int clist_AddContactMenuItem(lua_State *L)
CMenuItem mi;
MakeMenuItem(L, mi);
- ptrA szProto(mir_utf8decode((char*)lua_tostring(L, 2), NULL));
+ ptrA szProto(mir_utf8decodeA(lua_tostring(L, 2)));
HGENMENU res = Menu_AddContactMenuItem(&mi, szProto);
lua_pushlightuserdata(L, res);