summaryrefslogtreecommitdiff
path: root/plugins/mRadio/mradio.dpr
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mRadio/mradio.dpr')
-rw-r--r--plugins/mRadio/mradio.dpr9
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/mRadio/mradio.dpr b/plugins/mRadio/mradio.dpr
index a61dae29c5..d7cb1dade7 100644
--- a/plugins/mRadio/mradio.dpr
+++ b/plugins/mRadio/mradio.dpr
@@ -201,16 +201,9 @@ exports
Load, Unload,
MirandaPluginInfoEx;
-var
- desc:TPROTOCOLDESCRIPTOR;
-
begin
// register protocol
- desc.cbSize:=SizeOf(desc);
- desc.szName:=PluginName;
- desc._type :=PROTOTYPE_VIRTUAL;
- Proto_RegisterModule(@desc);
-
+ Proto_RegisterModule(PROTOTYPE_VIRTUAL,PluginName);
Proto_SetUniqueId(PluginName,optStationURL);
DisableThreadLibraryCalls(hInstance);