X-Git-Url: http://scm.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXUser.pm;h=e5a6a3b241c37915a9e75b4073abbf28ede33631;hb=a204e3cd89e849e97db25879b4ddf62b770bd227;hp=cf847bc897778748295e61aa41d15962a8ef83a3;hpb=070310c653f25c63a719396a32c216b5ce8b9dee;p=spider.git diff --git a/perl/DXUser.pm b/perl/DXUser.pm index cf847bc8..e5a6a3b2 100644 --- a/perl/DXUser.pm +++ b/perl/DXUser.pm @@ -79,7 +79,8 @@ $lrusize = 2000; wantpc90 => '1,Req PC90,yesno', wantnp => '1,Req New Protocol,yesno', wantpc16 => '9,Want Users from node,yesno', - wantsendpc16 => '9,Send users to node,yesno', + wantsendpc16 => '9,Send PC16,yesno', + wantroutepc19 => '9,Route PC19,yesno', lastoper => '9,Last for/oper,cldatetime', nothere => '0,Not Here Text', registered => '9,Registered?,yesno', @@ -91,7 +92,6 @@ $lrusize = 2000; #no strict; sub AUTOLOAD { - my $self = shift; no strict; my $name = $AUTOLOAD; @@ -102,12 +102,7 @@ sub AUTOLOAD # this clever line of code creates a subroutine which takes over from autoload # from OO Perl - Conway *$AUTOLOAD = sub {@_ > 1 ? $_[0]->{$name} = $_[1] : $_[0]->{$name}}; - &$AUTOLOAD($self, @_); -# *{$AUTOLOAD} = sub {@_ > 1 ? $_[0]->{$name} = $_[1] : $_[0]->{$name}} ; -# if (@_) { -# $self->{$name} = shift; -# } -# return $self->{$name}; + goto &$AUTOLOAD; } #use strict; @@ -595,6 +590,11 @@ sub wantsendpc16 return _want('sendpc16', @_); } +sub wantroutepc16 +{ + return _want('routepc16', @_); +} + sub wantlogininfo { my $self = shift;