diff options
author | George Hazan <george.hazan@gmail.com> | 2013-11-26 15:28:09 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-11-26 15:28:09 +0000 |
commit | 19cab1ca9696845a338a17c9bad3788aa4ec7bc2 (patch) | |
tree | e7e8712794e7e78136d7eb101fa876124916e2d6 /plugins/HistoryPlusPlus/hpp_services.pas | |
parent | a24244a8159143a07208a91a6314680856d45a9e (diff) |
password protection removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@6988 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryPlusPlus/hpp_services.pas')
-rw-r--r-- | plugins/HistoryPlusPlus/hpp_services.pas | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/plugins/HistoryPlusPlus/hpp_services.pas b/plugins/HistoryPlusPlus/hpp_services.pas index 63234f2897..05821743bc 100644 --- a/plugins/HistoryPlusPlus/hpp_services.pas +++ b/plugins/HistoryPlusPlus/hpp_services.pas @@ -51,13 +51,11 @@ interface uses
Classes, Windows, Controls,
m_api,
- HistoryForm, PassForm, PassCheckForm;
+ HistoryForm;
var
hHppRichEditItemProcess: THandle;
HstWindowList: TList;
- PassFm: TfmPass;
- PassCheckFm: TfmPassCheck;
procedure hppRegisterServices;
procedure hppUnregisterServices;
@@ -183,7 +181,6 @@ end; // See m_historypp.inc for details
function HppOpenHistoryEvent(wParam { POpenEventParams } : WPARAM; lParam: LPARAM): uint_ptr; cdecl;
var
- wHistory: THistoryFrm;
hDbEvent: THandle;
item, sel: Integer;
oep: TOpenEventParams;
@@ -201,14 +198,9 @@ begin end;
if hDbEvent = oep.hDbEvent then
sel := item;
- wHistory := OpenContactHistory(oep.hContact, sel);
- if wHistory.PasswordMode then
- if (oep.pPassword <> nil) and CheckPassword(oep.pPassword) then
- wHistory.PasswordMode := False;
- Result := int_ptr(not wHistory.PasswordMode);
- end
- else
- Result := 0;
+ OpenContactHistory(oep.hContact, sel);
+ end;
+ Result := 0;
end;
// MS_HPP_EMPTYHISTORY service
|