summaryrefslogtreecommitdiff
path: root/plugins/MirandaG15/src/CChatScreen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirandaG15/src/CChatScreen.cpp')
-rw-r--r--plugins/MirandaG15/src/CChatScreen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/MirandaG15/src/CChatScreen.cpp b/plugins/MirandaG15/src/CChatScreen.cpp
index 580d5aa024..d735218093 100644
--- a/plugins/MirandaG15/src/CChatScreen.cpp
+++ b/plugins/MirandaG15/src/CChatScreen.cpp
@@ -162,7 +162,7 @@ void CChatScreen::UpdateObjects()
void CChatScreen::UpdateLabels()
{
tstring strNickname = CAppletManager::GetContactDisplayname(m_hContact);
- char *szProto = GetContactProto(m_hContact);
+ char *szProto = Proto_GetBaseAccountName(m_hContact);
m_iStatus = ID_STATUS_OFFLINE;
tstring strProto = L"";
@@ -213,7 +213,7 @@ bool CChatScreen::SetContact(MCONTACT hContact)
}
// Check if the contact is valid
- char *szProto = GetContactProto(hContact);
+ char *szProto = Proto_GetBaseAccountName(hContact);
m_strProto = toTstring(szProto);
CIRCConnection *pIRCCon = CAppletManager::GetInstance()->GetIRCConnection(m_strProto);
@@ -249,7 +249,7 @@ void CChatScreen::LoadHistory()
if (!m_hContact)
return;
- char *szProto = GetContactProto(m_hContact);
+ char *szProto = Proto_GetBaseAccountName(m_hContact);
if (m_bIRCProtocol && db_get_b(m_hContact, szProto, "ChatRoom", 0) != 0) {
if (!CAppletManager::GetInstance()->IsIRCHookEnabled()) {