projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix an ordering problem with node checking
[spider.git]
/
perl
/
DXUser.pm
diff --git
a/perl/DXUser.pm
b/perl/DXUser.pm
index cbedad4114a561e5e16034ddfb587e7e8a826e36..ddcbc954da3248e74be2fa276b9e3b3709a26eff 100644
(file)
--- a/
perl/DXUser.pm
+++ b/
perl/DXUser.pm
@@
-528,9
+528,9
@@
sub wantann_talk
sub wantlogininfo
{
my $self = shift;
sub wantlogininfo
{
my $self = shift;
- my $
n
= shift;
- $self->{wantlogininfo} = $
n if $n
;
- return
exists $self->{wantlogininfo} ? $self->{wantlogininfo} : 0
;
+ my $
val
= shift;
+ $self->{wantlogininfo} = $
val if defined $val
;
+ return
$self->{wantlogininfo}
;
}
sub is_node
}
sub is_node