summaryrefslogtreecommitdiff
path: root/protocols/JabberG
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-10-16 22:47:10 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-10-16 22:47:10 +0300
commit53ff16b147c30de05cd21e3f97b0ae0106dd9566 (patch)
tree9afbb24421d8282dee04878ef0476547dc4d4f1c /protocols/JabberG
parent472296cacaa7f230f6d99c7d1b6e44003de749af (diff)
the whole idea of customizable colors in chat considered totally useless
Diffstat (limited to 'protocols/JabberG')
-rwxr-xr-xprotocols/JabberG/src/jabber_proto.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp
index 3194c2a93e..e6a7ab5ba3 100755
--- a/protocols/JabberG/src/jabber_proto.cpp
+++ b/protocols/JabberG/src/jabber_proto.cpp
@@ -200,8 +200,6 @@ CJabberProto::~CJabberProto()
////////////////////////////////////////////////////////////////////////////////////////
// OnModulesLoadedEx - performs hook registration
-static COLORREF crCols[16] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 };
-
int CJabberProto::OnModulesLoadedEx(WPARAM, LPARAM)
{
HookProtoEvent(ME_USERINFO_INITIALISE, &CJabberProto::OnUserInfoInit);
@@ -212,8 +210,6 @@ int CJabberProto::OnModulesLoadedEx(WPARAM, LPARAM)
GCREGISTER gcr = {};
gcr.dwFlags = GC_TYPNOTIF | GC_CHANMGR;
- gcr.nColors = _countof(crCols);
- gcr.pColors = &crCols[0];
gcr.ptszDispName = m_tszUserName;
gcr.pszModule = m_szModuleName;
Chat_Register(&gcr);