put duplicate checking into respective modules and out of DXProt.
[spider.git] / perl / console.pl
index bc3f3a9f40309e4dc8cd50d84b724e953755b1ba..35e5da7e9bf339aebf3f26e209e6f9e9b262850e 100755 (executable)
@@ -214,7 +214,7 @@ sub rec_socket
                cease(1);
        }
        if (defined $msg) {
-               my ($sort, $call, $line) = $msg =~ /^(\w)(\S+)\|(.*)$/;
+               my ($sort, $call, $line) = $msg =~ /^(\w)([^\|]+)\|(.*)$/;
                
                if ($sort && $sort eq 'D') {
                        addtotop($line);