1. make spot dups look back 5 mins.
[spider.git] / perl / DXChannel.pm
index be5feee32b2915308464961f9884c5b4e9dee218..15bd6d2bffccbbcc994a22825d3545771831a0e0 100644 (file)
@@ -103,6 +103,12 @@ $count = 0;
                  senddbg => '8,Sending Debug,yesno',
                 );
 
+use vars qw($VERSION $BRANCH);
+$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
+$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ ) || 0;
+$main::build += $VERSION;
+$main::branch += $BRANCH;
+
 # object destruction
 sub DESTROY
 {
@@ -441,6 +447,7 @@ sub tell_login
        my $dxchan;
        foreach $dxchan (@dxchan) {
                next if $dxchan == $self;
+               next if $dxchan->{call} eq $main::mycall;
                $dxchan->send($dxchan->msg($m, $self->{call})) if $dxchan->{logininfo};
        }
 }