X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXUser.pm;h=e65dd9227ae37a814a78dd40ea34fae3e6091270;hb=3e6bfdd3f55497dec6b16be893c8e59b3c7e0211;hp=cbedad4114a561e5e16034ddfb587e7e8a826e36;hpb=07d281a1a976f136e00a541d9d157bb750ac4cb5;p=spider.git diff --git a/perl/DXUser.pm b/perl/DXUser.pm index cbedad41..e65dd922 100644 --- a/perl/DXUser.pm +++ b/perl/DXUser.pm @@ -527,10 +527,7 @@ sub wantann_talk sub wantlogininfo { - my $self = shift; - my $n = shift; - $self->{wantlogininfo} = $n if $n; - return exists $self->{wantlogininfo} ? $self->{wantlogininfo} : 0; + return _want('logininfo', @_); } sub is_node