summaryrefslogtreecommitdiff
path: root/plugins/Watrack/status/status.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack/status/status.pas')
-rw-r--r--plugins/Watrack/status/status.pas9
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/Watrack/status/status.pas b/plugins/Watrack/status/status.pas
index b5db16bb1c..ccc9b2a447 100644
--- a/plugins/Watrack/status/status.pas
+++ b/plugins/Watrack/status/status.pas
@@ -66,12 +66,7 @@ begin
CreateTemplates;
hINS:=CreateServiceFunction(MS_WAT_INSERT,@InsertProc);
reghotkey;
- plStatusHook:=HookEvent(ME_WAT_NEWSTATUS,@NewPlStatus);
-
-// mStatus.ModuleStat:=1;
-
-// if ServiceExists(MS_LISTENINGTO_GETPARSEDTEXT)<>0 then
-// hLTo:=CreateServiceFunction(MS_LISTENINGTO_GETPARSEDTEXT,@ListenProc);
+ HookEvent(ME_WAT_NEWSTATUS,@NewPlStatus);
end;
procedure DeInitProc(aSetDisable:boolean);
@@ -88,7 +83,6 @@ begin
end;
// DestroyServiceFunction(hLTo);
DestroyServiceFunction(hINS);
- UnhookEvent(plStatusHook);
FreeProtoList;
FreeTemplates;
@@ -133,7 +127,6 @@ begin
mStatus.DeInit :=@DeInitProc;
mStatus.AddOption :=@AddOptionsPage;
mStatus.ModuleName:='Statuses';
-// mStatus.ModuleStat:=0;
ModuleLink :=@mStatus;
end;