summaryrefslogtreecommitdiff
path: root/plugins/Watrack/status
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack/status')
-rw-r--r--plugins/Watrack/status/i_hotkey.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/Watrack/status/i_hotkey.inc b/plugins/Watrack/status/i_hotkey.inc
index 115be86655..e8f6ac3ea6 100644
--- a/plugins/Watrack/status/i_hotkey.inc
+++ b/plugins/Watrack/status/i_hotkey.inc
@@ -20,10 +20,8 @@ begin
CurWin:=GetFocus;
if CurWin<>0 then
begin
-// j:=WndToContact(WaitFocusedWndChild(GetForegroundwindow){GetFocus});
j:=WndToContact(CurWin);
- p:=GetContactProtoAcc(j);
-// p:=PAnsiChar(CallService(MS_PROTO_GETCONTACTBASEPROTO,j,0));
+ p:=Proto_GetBaseAccountName(j);
if DBReadByte(j,p,'ChatRoom',0)=1 then
begin
isUnicode:=false;