Prepare for git repository
[spider.git] / perl / DXCommandmode.pm
index 4ec31dee57721f0c4f83db9d632fe0487bdead9f..6fbd9f21e8dcc8ccf58e75950d34aa48e2423ad7 100644 (file)
@@ -54,12 +54,6 @@ $cmdimportdir = "$main::root/cmd_import"; # the base directory for importing com
                                           # this does not exist as default, you need to create it manually
                                          #
 
-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;
-
 #
 # obtain a new connection this is derived from dxchannel
 #
@@ -1050,9 +1044,9 @@ sub broadcast_debug
        foreach my $dxchan (DXChannel::get_all) {
                next unless $dxchan->{enhanced} && $dxchan->{senddbg};
                if ($dxchan->{gtk}) {
-                       $dxchan->local_send('L', dd(['db', $s]));
+                       $dxchan->send_later('L', dd(['db', $s]));
                } else {
-                       $dxchan->local_send('L', $s);
+                       $dxchan->send_later('L', $s);
                }
        }
 }