diff options
author | George Hazan <george.hazan@gmail.com> | 2012-12-18 20:22:53 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-12-18 20:22:53 +0000 |
commit | dda548686c0f8b0d0bf03315120132013ffa1bb0 (patch) | |
tree | 59f1ff72eb832ab22e9c15d3cae8812793a2f9af /protocols/MSN/src/msn_proto.cpp | |
parent | a76ced5d4ff852dcbe7a96824ca1bb6dc219a1fd (diff) |
useless chat event removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@2765 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_proto.cpp')
-rw-r--r-- | protocols/MSN/src/msn_proto.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/protocols/MSN/src/msn_proto.cpp b/protocols/MSN/src/msn_proto.cpp index 1d92edf44f..8c31f781ab 100644 --- a/protocols/MSN/src/msn_proto.cpp +++ b/protocols/MSN/src/msn_proto.cpp @@ -205,8 +205,7 @@ CMsnProto::~CMsnProto() int CMsnProto::OnModulesLoaded(WPARAM, LPARAM)
{
- if (msnHaveChatDll)
- {
+ if (msnHaveChatDll) {
GCREGISTER gcr = {0};
gcr.cbSize = sizeof(GCREGISTER);
gcr.dwFlags = GC_TYPNOTIF | GC_CHANMGR | GC_TCHAR;
@@ -219,11 +218,6 @@ int CMsnProto::OnModulesLoaded(WPARAM, LPARAM) HookProtoEvent(ME_GC_EVENT, &CMsnProto::MSN_GCEventHook);
HookProtoEvent(ME_GC_BUILDMENU, &CMsnProto::MSN_GCMenuHook);
-
- char szEvent[200];
- mir_snprintf(szEvent, sizeof szEvent, "%s\\ChatInit", m_szModuleName);
- hInitChat = CreateHookableEvent(szEvent);
- HookProtoEvent(szEvent, &CMsnProto::MSN_ChatInit);
}
HookProtoEvent(ME_IDLE_CHANGED, &CMsnProto::OnIdleChanged);
|