loads of changes and added things
[spider.git] / cmd / disconnect.pl
index 32cb543f43469bfa4692d1e8270681225194c441..51ddc696e4a54bf62abf593ffff9a552a1531f15 100644 (file)
@@ -16,7 +16,7 @@ foreach $call (@calls) {
   my $dxchan = DXChannel->get($call);
   if ($dxchan) {
     if ($dxchan->is_ak1a) {
-      $dxchan->send_now("D", DXProt::pc39($dxchan->call, 'Disconnected'));
+      $dxchan->send_now("D", DXProt::pc39($main::mycall, 'Disconnected'));
     } else {
       $dxchan->disconnect;
        }