diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-10-29 22:54:29 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-10-29 22:54:29 +0300 |
commit | 5c6c352a317c30f7ed1b54d7624f49ae7e10344a (patch) | |
tree | 81611130f35fc2a4f1a881464a1e2e41d7f847d5 /messages.cpp | |
parent | e1879c22c4608a7b0f33a5989ab0925fc9503679 (diff) |
modified: messages.cpp
modified: new_gpg.rc
Diffstat (limited to 'messages.cpp')
-rw-r--r-- | messages.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/messages.cpp b/messages.cpp index 12dede3..86ad601 100644 --- a/messages.cpp +++ b/messages.cpp @@ -729,7 +729,7 @@ int SendMsgSvc(WPARAM w, LPARAM l) } HistoryLog(hContact, (char*)str_event.c_str(), EVENTTYPE_MESSAGE, DBEF_SENT | DBEF_UTF); HistoryLog(metaGetContact(hContact), (char*)str_event.c_str(), EVENTTYPE_MESSAGE, DBEF_SENT | DBEF_UTF); - hcontact_data[metaGetContact(hContact)].msgs_to_ignore.push_back((char*)ccs->lParam); + hcontact_data[hContact].msgs_to_ignore.push_back((char*)ccs->lParam); hcontact_data[metaGetContact(hContact)].msgs_to_ignore.push_back((char*)ccs->lParam); //hmm, twice ? metacontacts !! %) CallContactService(hContact, PSS_MESSAGE, (WPARAM)PREF_UTF, (LPARAM)toUTF8(str).c_str()); return returnNoError(hContact); @@ -756,8 +756,6 @@ int HookSendMsg(WPARAM w, LPARAM l) hContact = (HANDLE)w; else if(!hcontact_data[metaGetContact((HANDLE)w)].msgs_to_ignore.empty()) hContact = metaGetContact((HANDLE)w); - else if(!hcontact_data[metaGetCurrent((HANDLE)w)].msgs_to_ignore.empty()) - hContact = metaGetCurrent((HANDLE)w); if(hContact) { list<string>::iterator end = hcontact_data[hContact].msgs_to_ignore.end(); |