X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FIntMsg.pm;h=0318c2b3bddb3a26b3f0525573f102c246132d58;hb=0dff8311e76fac314d73e64b4af1a8beabfe166d;hp=95c6ac74347793ce9f38f27d8af303bbe1265930;hpb=6db883c129fb84bbf067861a1def1fd8120a32c8;p=spider.git diff --git a/perl/IntMsg.pm b/perl/IntMsg.pm index 95c6ac74..0318c2b3 100644 --- a/perl/IntMsg.pm +++ b/perl/IntMsg.pm @@ -13,7 +13,7 @@ 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; +$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ || (0,0)); $main::build += $VERSION; $main::branch += $BRANCH; @@ -23,6 +23,11 @@ use vars qw(@ISA); @ISA = qw(Msg); +sub login +{ + goto &main::login; # save some writing, this was the default +} + sub enqueue { my ($conn, $msg) = @_;