2 # Hello Thingy handling
6 # Copyright (c) 2005 Dirk Koopman G1TLH
11 package Thingy::Hello;
13 use vars qw($VERSION $BRANCH);
14 $VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
15 $BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ || (0,0));
16 $main::build += $VERSION;
17 $main::branch += $BRANCH;
30 unless ($thing->{Aranea}) {
31 my $auth = $thing->{auth} = Verify->new($main::mycall, $main::systime);
32 $thing->{Aranea} = Aranea::genmsg($thing, 'HELLO', sw=>'DXSpider',
35 auth=>$auth->challenge($main::me->user->passphrase)
38 return $thing->{Aranea};
44 my $thing = Aranea::input($line);