projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge in build no fix to PC18 from SIMPLEROUTE again
[spider.git]
/
perl
/
DXProt.pm
diff --git
a/perl/DXProt.pm
b/perl/DXProt.pm
index 4b32a7150c35440747ed1d8a0c8e4c8d75f0b356..360bb2dd2392c602e788a42e77edee9b0411f4aa 100644
(file)
--- a/
perl/DXProt.pm
+++ b/
perl/DXProt.pm
@@
-38,12
+38,6
@@
use RouteDB;
use strict;
use strict;
-use vars qw($VERSION $BRANCH);
-$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
-$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ || (0,0));
-$main::build += $VERSION;
-$main::branch += $BRANCH;
-
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
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
@@
-969,7
+963,7
@@
sub handle_18
$self->state('init');
# record the type and version offered
$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);
$self->version(53 + $1);
$self->user->version(53 + $1);
$self->build(0 + $2);