diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2014-02-21 19:53:10 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2014-02-21 19:53:10 +0000 |
commit | 7f142a51cd32e024a1fd9d95b1311542febaf179 (patch) | |
tree | a5432ea92bc2ea821110a7875af6c626c642f8b4 /plugins/MirandaG15/src/CEventScreen.cpp | |
parent | 40318351c43f59747b2b22db47a2f6db78ca9878 (diff) |
Attempt to make MirandaG15 work with IRC and other groupchats
git-svn-id: http://svn.miranda-ng.org/main/trunk@8205 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirandaG15/src/CEventScreen.cpp')
-rw-r--r-- | plugins/MirandaG15/src/CEventScreen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirandaG15/src/CEventScreen.cpp b/plugins/MirandaG15/src/CEventScreen.cpp index b5656a3188..adf244362b 100644 --- a/plugins/MirandaG15/src/CEventScreen.cpp +++ b/plugins/MirandaG15/src/CEventScreen.cpp @@ -183,7 +183,7 @@ void CEventScreen::OnLCDButtonDown(int iButton) return;
// if the contact is an irc chatroom, check if it is hidden (user left the channel)
- char *szProto = (char *) CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)pEntry->hContact, 0);
+ char *szProto = GetContactProto(pEntry->hContact);
CIRCConnection *pIRCCon = CAppletManager::GetInstance()->GetIRCConnection(toTstring(szProto));
if(pIRCCon && db_get_b(pEntry->hContact, szProto, "ChatRoom", 0) != 0 &&
|