diff options
author | George Hazan <ghazan@miranda.im> | 2017-02-23 17:35:12 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-02-23 17:35:18 +0300 |
commit | 8d99e5b9bc291bfb886bb104edb5087cab557141 (patch) | |
tree | 0add95262ee640f6712dc60f2f786e9f624c3157 /protocols/Discord | |
parent | 34e423793fe14fe60a1e463e724523bc1f471cd3 (diff) |
code cleaning
Diffstat (limited to 'protocols/Discord')
-rw-r--r-- | protocols/Discord/src/groupchat.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/Discord/src/groupchat.cpp b/protocols/Discord/src/groupchat.cpp index 7f9459de50..d5574eb2b7 100644 --- a/protocols/Discord/src/groupchat.cpp +++ b/protocols/Discord/src/groupchat.cpp @@ -101,6 +101,7 @@ void CDiscordProto::Chat_ProcessLogMenu(GCHOOK *gch) return; ENTER_STRING es = { sizeof(es) }; + es.szModuleName = m_szModuleName; switch (gch->dwData) { case IDM_DESTROY: @@ -113,7 +114,6 @@ void CDiscordProto::Chat_ProcessLogMenu(GCHOOK *gch) case IDM_RENAME: es.caption = TranslateT("Enter new channel name:"); es.type = ESF_COMBO; - es.szModuleName = m_szModuleName; es.szDataPrefix = "chat_rename"; if (EnterString(&es)) { JSONNode root; root << WCHAR_PARAM("name", es.ptszResult); @@ -126,7 +126,6 @@ void CDiscordProto::Chat_ProcessLogMenu(GCHOOK *gch) case IDM_CHANGETOPIC: es.caption = TranslateT("Enter new topic:"); es.type = ESF_RICHEDIT; - es.szModuleName = m_szModuleName; es.szDataPrefix = "chat_topic"; if (EnterString(&es)) { JSONNode root; root << WCHAR_PARAM("topic", es.ptszResult); @@ -139,7 +138,6 @@ void CDiscordProto::Chat_ProcessLogMenu(GCHOOK *gch) case IDM_CHANGENICK: es.caption = TranslateT("Enter your new nick name:"); es.type = ESF_COMBO; - es.szModuleName = m_szModuleName; es.szDataPrefix = "chat_nick"; es.recentCount = 5; if (EnterString(&es)) { |