diff options
author | George Hazan <george.hazan@gmail.com> | 2014-12-23 13:39:18 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-12-23 13:39:18 +0000 |
commit | 9b41fd0ee7fe0e2c33e3664e4183c17e962cbdc9 (patch) | |
tree | 56f39eb0ab8e6d8f26e295991cd5051529fb5b48 /protocols/FacebookRM | |
parent | 20a19cd84f00a2235e1ab000921ae58ace13faa9 (diff) |
misplaced ME_MSG_* hooks
git-svn-id: http://svn.miranda-ng.org/main/trunk@11596 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM')
-rw-r--r-- | protocols/FacebookRM/src/proto.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp index fae1246351..23eac2a9fd 100644 --- a/protocols/FacebookRM/src/proto.cpp +++ b/protocols/FacebookRM/src/proto.cpp @@ -73,8 +73,6 @@ FacebookProto::FacebookProto(const char* proto_name, const TCHAR* username) : HookProtoEvent(ME_GC_EVENT, &FacebookProto::OnGCEvent); HookProtoEvent(ME_GC_BUILDMENU, &FacebookProto::OnGCMenuHook); HookProtoEvent(ME_DB_EVENT_MARKED_READ, &FacebookProto::OnDbEventRead); - HookProtoEvent(ME_MSG_WINDOWEVENT, &FacebookProto::OnProcessSrmmEvent); - HookProtoEvent(ME_MSG_PRECREATEEVENT, &FacebookProto::OnPreCreateEvent); db_set_resident(m_szModuleName, "Status"); db_set_resident(m_szModuleName, "IdleTS"); @@ -445,6 +443,9 @@ INT_PTR FacebookProto::SvcCreateAccMgrUI(WPARAM, LPARAM lParam) int FacebookProto::OnModulesLoaded(WPARAM, LPARAM) { + HookProtoEvent(ME_MSG_WINDOWEVENT, &FacebookProto::OnProcessSrmmEvent); + HookProtoEvent(ME_MSG_PRECREATEEVENT, &FacebookProto::OnPreCreateEvent); + // Register group chat GCREGISTER gcr = { sizeof(gcr) }; gcr.dwFlags = 0; //GC_ACKMSG; |