X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=html%2Fprogram.html;h=9b6262ec28dcc9575fa5c4f9c7d4d19f170c215e;hb=ad8639433db3d682769b49665c0eefaa32f80c20;hp=f810d2ec2677e1b8edebd57b2aa31e6830f6c7eb;hpb=49c63abb499e095296f60622f2a8e02626a2c3cb;p=spider.git diff --git a/html/program.html b/html/program.html index f810d2ec..9b6262ec 100644 --- a/html/program.html +++ b/html/program.html @@ -232,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); @@ -303,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:-