X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FThingy.pm;fp=perl%2FThingy.pm;h=2361561af527edc43c0f474adfc1bc29236ec1a9;hb=9cb17cdc59baad6fd8d175ec9a644575cdc8c5d5;hp=c1f010c11e3a7c2790759a87acac08187e83fc6e;hpb=4a537d5ee952ce14ac88ebe07e4f015155b576ee;p=spider.git diff --git a/perl/Thingy.pm b/perl/Thingy.pm index c1f010c1..2361561a 100644 --- a/perl/Thingy.pm +++ b/perl/Thingy.pm @@ -201,7 +201,7 @@ sub add_auth { my $thing = shift; my $s = $thing->{'s'} = sprintf "%X", int(rand() * 100000000); - my $auth = Verify->new("DXSp,$main::mycall,$s,$main::version,$main::build"); + my $auth = Verify->new("DXSp,$main::mycall,$s,$thing->{v},$thing->{b}"); $thing->{auth} = $auth->challenge($main::me->user->passphrase); }