Prepare for git repository
[spider.git] / perl / DXCommandmode.pm
index 528067061a52332a7c9c7b4a5659a9407e05a055..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
 #
@@ -833,7 +827,7 @@ sub talk
        $line =~ s/\\5E/\^/g;
        if ($self->{talk}) {
                if ($self->{gtk}) {
-                       $self->local_send('T', dd(['talk',$to,$from,$via,$line,@_]));
+                       $self->local_send('T', dd(['talk',$to,$from,$via,$line]));
                } else {
                        $self->local_send('T', "$to de $from: $line");
                }
@@ -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);
                }
        }
 }