X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FAGWMsg.pm;h=771551430a99b7d7b1bf704ba330dd0ffc02efc0;hb=7f0e53a059144b444ef04ea7609ce0049a4ae268;hp=f6fc50747f9a5fa005099630777770e4cdec2986;hpb=5bc87856bb191e42d91628a5a4d9579a242b9541;p=spider.git diff --git a/perl/AGWMsg.pm b/perl/AGWMsg.pm index f6fc5074..77155143 100644 --- a/perl/AGWMsg.pm +++ b/perl/AGWMsg.pm @@ -16,7 +16,7 @@ # because I have the 'power of perl' available that avoids me getting # terminally bored sorting out other people's sloppyness. # -# $Id$ +# # # Copyright (c) 2001 - Dirk Koopman G1TLH # @@ -45,12 +45,6 @@ $hpolltime = 300 unless defined $hpolltime; %circuit = (); $total_in = $total_out = 0; -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; - sub init { return unless $enable; @@ -104,6 +98,11 @@ sub finish } } +sub login +{ + goto &main::login; # save some writing, this was the default +} + sub active { return $sock;