X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProtHandle.pm;h=d6ae6cfa81c0d353c280f4f120ec2f53c46b20a1;hb=160c90fff497dede4733d3e2752ebe5f4c1ee279;hp=99157462e9566759782c3d8bbd4a4cb98862d7a9;hpb=e8b80c1e17161bf15558e17daad71a35b5e173b3;p=spider.git diff --git a/perl/DXProtHandle.pm b/perl/DXProtHandle.pm index 99157462..d6ae6cfa 100644 --- a/perl/DXProtHandle.pm +++ b/perl/DXProtHandle.pm @@ -37,9 +37,6 @@ use RouteDB; use strict; -use vars qw($VERSION $BRANCH); -($VERSION, $BRANCH) = dxver(q$Revision$); - use vars qw($pc11_max_age $pc23_max_age $last_pc50 $eph_restime $eph_info_restime $eph_pc34_restime $last_hour $last10 %eph %pings %rcmds $ann_to_talk $pingint $obscount %pc19list $chatdupeage $chatimportfn @@ -599,7 +596,7 @@ sub handle_18 $self->state('init'); # record the type and version offered - if ($_[1] =~ /DXSpider Version: (\d+\.\d+) Build: (\d+\.\d+)/) { + if ($_[1] =~ /DXSpider Version: (\d+\.\d+) Build: (\d+(?:\.\d+)?)/) { $self->version(53 + $1); $self->user->version(53 + $1); $self->build(0 + $2);