fix sending msgs to g1tlh-2 (and not to g1tlh, - and 2)
[spider.git] / perl / DXMsg.pm
index 4c9d2e59f52752b75817394055224e7482c28eec..677888f850948c490c9be43ebbc34abd7e30e49c 100644 (file)
@@ -487,7 +487,7 @@ sub del_msg
 
                my $call = '';
                $call = ' by ' . $dxchan->call if $dxchan;
-               Log("Msgno $self->{msgno} expunged$call");
+               Log('msg', "Msgno $self->{msgno} expunged$call");
                
                # remove the file
                unlink filename($self->{msgno});
@@ -1218,7 +1218,6 @@ sub import_msgs
                my @out = import_one($main::me, \@msg, $splitit);
                Log('msg', @out);
        }
-       queue_msg(0);
 }
 
 # import one message as a list in bbs (as extended) mode
@@ -1238,7 +1237,7 @@ sub import_one
                                
        # first line;
        my $line = shift @$ref;
-       my @f = split /\b/, $line;
+       my @f = split /([\s\@\$])/, $line;
        @f = map {s/\s+//g; length $_ ? $_ : ()} @f;
 
        unless (@f && $f[0] =~ /^(:?S|SP|SB|SEND)$/ ) {