diff options
author | George Hazan <ghazan@miranda.im> | 2017-02-08 21:59:09 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-02-08 21:59:17 +0300 |
commit | 19535676169fea739dec9b582ad1470c768faae9 (patch) | |
tree | 59dc056ee5a5aeb5da330ada4b58ee9714aa9c22 /protocols/Discord/src/main.cpp | |
parent | 5b00b966c446a17b23e5ca38504c829e064e08b8 (diff) |
Discord: support for changing nick names in chats
Diffstat (limited to 'protocols/Discord/src/main.cpp')
-rw-r--r-- | protocols/Discord/src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Discord/src/main.cpp b/protocols/Discord/src/main.cpp index dbf194d708..76d50752bc 100644 --- a/protocols/Discord/src/main.cpp +++ b/protocols/Discord/src/main.cpp @@ -17,6 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "stdafx.h" +CHAT_MANAGER *pci; HINSTANCE g_hInstance; int hLangpack = 0; HWND g_hwndHeartbeat; @@ -74,6 +75,7 @@ static int protoUninit(PROTO_INTERFACE *proto) extern "C" int __declspec(dllexport) Load(void) { mir_getLP(&pluginInfo); + pci = Chat_GetInterface(); g_hwndHeartbeat = CreateWindowEx(0, L"STATIC", NULL, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL); |