summaryrefslogtreecommitdiff
path: root/plugins/Watrack/proto/proto.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack/proto/proto.pas')
-rw-r--r--plugins/Watrack/proto/proto.pas7
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/Watrack/proto/proto.pas b/plugins/Watrack/proto/proto.pas
index 33098c7f42..3025ab76f3 100644
--- a/plugins/Watrack/proto/proto.pas
+++ b/plugins/Watrack/proto/proto.pas
@@ -318,13 +318,8 @@ begin
end;
procedure SetProtocol;
-var
- desc:TPROTOCOLDESCRIPTOR;
begin
- desc.cbSize:=SizeOf(desc);
- desc.szName:=PluginShort;
- desc._type :=PROTOTYPE_TRANSLATION;
- Proto_RegisterModule(@desc);
+ Proto_RegisterModule(PROTOTYPE_TRANSLATION,PluginShort);
hSRM:=CreateProtoServiceFunction(PluginShort,PSR_MESSAGE ,@ReceiveMessageProcW);
end;