X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=html%2Fprogram.html;h=9b6262ec28dcc9575fa5c4f9c7d4d19f170c215e;hb=refs%2Fheads%2Fip_address;hp=0814370dc9c131ece713464b8cbd58b4571edf2f;hpb=439f25ba04e8c4ddbd6806f31da58c0939e2c868;p=spider.git diff --git a/html/program.html b/html/program.html index 0814370d..9b6262ec 100644 --- a/html/program.html +++ b/html/program.html @@ -6,6 +6,8 @@ + + @@ -230,7 +232,7 @@ return (1, $self->msg('e5')) if $self->priv < 9; foreach $call (@args) { $call = uc $call; - if ($ref = DXUser->get_current($call)) { + if ($ref = DXUser::get_current($call)) { $ref->passwd($pass); $ref->put(); push @out, $self->msg("password", $call); @@ -301,11 +303,11 @@ return (1, @out)

  • It is important that you remember when you have tie hashes using MLDBM et al. If you do a - DXUser->get($call) you will get a different (older) + DXUser::get($call) you will get a different (older) thing than the one in $self->user. This is almost certainly NOT what you want if want to modify a user that is currently connected. Either use $self->user or, if - you want another user, use DXUser->get_current($call) + you want another user, use DXUser::get_current($call)

  • If you want to debug something, start the cluster.pl up thus:-