X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXUser.pm;h=e65dd9227ae37a814a78dd40ea34fae3e6091270;hb=c87553a14286b31db30d28decb1c0d5c8327e443;hp=cbedad4114a561e5e16034ddfb587e7e8a826e36;hpb=8f58735f5c9c090f2e5e00e05c7ad0834eccb741;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