diff options
author | George Hazan <ghazan@miranda.im> | 2019-02-25 21:02:11 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-02-25 21:02:11 +0300 |
commit | 45bf5f51cc788cb8f19e1b8fcd5b8818dc7a2e00 (patch) | |
tree | 40a087f36b75b4c1fb7218bd06052df2968bf2d2 /plugins/MirLua | |
parent | 8ba9e423e683d570702476dd93571cea26a27c1a (diff) |
GCEVENT::GCEF_UTF8 - flag for direct communication with utf8-encoded chat events (UTF16LE by default)
Diffstat (limited to 'plugins/MirLua')
-rw-r--r-- | plugins/MirLua/src/Modules/m_chat.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/MirLua/src/Modules/m_chat.cpp b/plugins/MirLua/src/Modules/m_chat.cpp index c1a2a65d9b..8611b6bc08 100644 --- a/plugins/MirLua/src/Modules/m_chat.cpp +++ b/plugins/MirLua/src/Modules/m_chat.cpp @@ -11,15 +11,15 @@ LUAMOD_API int luaopen_m_chat(lua_State *L) MT<GCEVENT>(L, "GCEVENT") .Field(&GCEVENT::pszModule, "Module", LUA_TSTRINGA) - .Field(&GCEVENT::ptszID, "Id", LUA_TSTRINGW) + .Field(&GCEVENT::pszID, "Id", LUA_TSTRINGW) .Field(&GCEVENT::iType, "Type", LUA_TINTEGER) .Field(&GCEVENT::time, "Timestamp", LUA_TINTEGER) .Field(&GCEVENT::time, "IsMe", LUA_TINTEGER) .Field(&GCEVENT::time, "Flags", LUA_TINTEGER) - .Field(&GCEVENT::ptszNick, "Nick", LUA_TSTRINGW) - .Field(&GCEVENT::ptszUID, "Uid", LUA_TSTRINGW) - .Field(&GCEVENT::ptszStatus, "Status", LUA_TSTRINGW) - .Field(&GCEVENT::ptszText, "Text", LUA_TSTRINGW); + .Field(&GCEVENT::pszNick, "Nick", LUA_TSTRINGW) + .Field(&GCEVENT::pszUID, "Uid", LUA_TSTRINGW) + .Field(&GCEVENT::pszStatus, "Status", LUA_TSTRINGW) + .Field(&GCEVENT::pszText, "Text", LUA_TSTRINGW); return 1; } |