X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProtout.pm;h=a5d5250b161014a817ce5d0c334035600018a18b;hb=4d3067793942b3f4518615906dde50db5b76464a;hp=555bc0c7cff445a30c118b546f8dcb5f58b75e27;hpb=b060a0a3ee72530aa3f10d453186a662b66d7efe;p=spider.git diff --git a/perl/DXProtout.pm b/perl/DXProtout.pm index 555bc0c7..a5d5250b 100644 --- a/perl/DXProtout.pm +++ b/perl/DXProtout.pm @@ -93,7 +93,8 @@ sub pc17 # Request init string sub pc18 { - return "PC18^wot a load of twaddle^$DXProt::myprot_version^~"; + my $info = DXCluster::cluster; + return "PC18^$info^$DXProt::myprot_version^~"; } # @@ -270,7 +271,7 @@ sub pc49 # periodic update of users, plus keep link alive device (always H99) sub pc50 { - my $me = DXCluster->get($main::mycall); + my $me = DXCluster->get_exact($main::mycall); my $n = $me->users ? $me->users : '0'; return "PC50^$main::mycall^$n^H99^"; } @@ -278,7 +279,7 @@ sub pc50 # generate pings sub pc51 { - my ($self, $to, $from, $val) = @_; + my ($to, $from, $val) = @_; return "PC51^$to^$from^$val^"; } 1;