diff options
Diffstat (limited to 'protocols/Discord/src')
-rw-r--r-- | protocols/Discord/src/groupchat.cpp | 2 | ||||
-rw-r--r-- | protocols/Discord/src/proto.h | 1 | ||||
-rw-r--r-- | protocols/Discord/src/stdafx.h | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/protocols/Discord/src/groupchat.cpp b/protocols/Discord/src/groupchat.cpp index 41351dee88..8df0cf8c19 100644 --- a/protocols/Discord/src/groupchat.cpp +++ b/protocols/Discord/src/groupchat.cpp @@ -25,7 +25,7 @@ enum { ///////////////////////////////////////////////////////////////////////////////////////// -void CDiscordProto::BuildStatusList(const CDiscordGuild *pGuild, SESSION_INFO *si) +void BuildStatusList(const CDiscordGuild *pGuild, SESSION_INFO *si) { Chat_AddGroup(si, L"@owner"); diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h index 4d51cdc161..44b50465a7 100644 --- a/protocols/Discord/src/proto.h +++ b/protocols/Discord/src/proto.h @@ -251,7 +251,6 @@ class CDiscordProto : public PROTO<CDiscordProto> void Chat_SendPrivateMessage(GCHOOK *gch); void Chat_ProcessLogMenu(GCHOOK *gch); - void BuildStatusList(const CDiscordGuild *pGuild, SESSION_INFO *si); void CreateChat(CDiscordGuild *pGuild, CDiscordUser *pUser); void ParseSpecialChars(SESSION_INFO *si, CMStringW &str); diff --git a/protocols/Discord/src/stdafx.h b/protocols/Discord/src/stdafx.h index ccbd587d74..10891296e9 100644 --- a/protocols/Discord/src/stdafx.h +++ b/protocols/Discord/src/stdafx.h @@ -60,6 +60,8 @@ extern HWND g_hwndHeartbeat; #include "version.h" #include "proto.h" +void BuildStatusList(const CDiscordGuild *pGuild, SESSION_INFO *si); + SnowFlake getId(const JSONNode &pNode); CMStringW PrepareMessageText(const JSONNode &pRoot); int StrToStatus(const CMStringW &str); |