summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rw-r--r--protocols/JabberG/src/jabber_proto.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp
index 4aaa085b52..68d8d7bd8e 100644
--- a/protocols/JabberG/src/jabber_proto.cpp
+++ b/protocols/JabberG/src/jabber_proto.cpp
@@ -223,8 +223,6 @@ CJabberProto::~CJabberProto()
DestroyHookableEvent(m_hEventNudge);
DestroyHookableEvent(m_hEventXStatusIconChanged);
DestroyHookableEvent(m_hEventXStatusChanged);
- if (m_hInitChat)
- DestroyHookableEvent(m_hInitChat);
CleanLastResourceMap();
@@ -295,11 +293,6 @@ int CJabberProto::OnModulesLoadedEx(WPARAM, LPARAM)
JHookEvent(ME_GC_EVENT, &CJabberProto::JabberGcEventHook);
JHookEvent(ME_GC_BUILDMENU, &CJabberProto::JabberGcMenuHook);
-
- char szEvent[ 200 ];
- mir_snprintf(szEvent, sizeof szEvent, "%s\\ChatInit", m_szModuleName);
- m_hInitChat = CreateHookableEvent(szEvent);
- JHookEvent(szEvent, &CJabberProto::JabberGcInit);
}
if (ServiceExists(MS_MSG_ADDICON)) {