fix sending msgs to g1tlh-2 (and not to g1tlh, - and 2)
[spider.git] / perl / DXMsg.pm
index 77259d071ad2e18707ed5f32e79cbf669b675a35..677888f850948c490c9be43ebbc34abd7e30e49c 100644 (file)
@@ -1237,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)$/ ) {