From 214add54f06130d9bbfce9045a814f6599f30812 Mon Sep 17 00:00:00 2001
From: minima <minima>
Date: Wed, 3 Oct 2001 10:11:59 +0000
Subject: [PATCH] handle g1tlh@www type things

---
 cmd/send.pl   | 2 +-
 perl/DXMsg.pm | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmd/send.pl b/cmd/send.pl
index c3ff8583..3bc2a6b3 100644
--- a/cmd/send.pl
+++ b/cmd/send.pl
@@ -32,7 +32,7 @@ $loc->{rrreq} = '0';
 
 if ($self->state eq "prompt") {
 
-	my @f = split /\s+/, $line;
+	my @f = split /\b/, $line;
 
 	# any thing after send?
 	return (1, $self->msg('e6')) if !@f;
diff --git a/perl/DXMsg.pm b/perl/DXMsg.pm
index 46280dfa..5691b725 100644
--- a/perl/DXMsg.pm
+++ b/perl/DXMsg.pm
@@ -1207,7 +1207,7 @@ sub import_one
 				
 	# first line;
 	my $line = shift @$ref;
-	my @f = split /\s+/, $line;
+	my @f = split /\b/, $line;
  	unless (@f && $f[0] =~ /^(:?S|SP|SB|SEND)$/ ) {
 		my $m = "invalid first line in import '$line'";
 		dbg($m) if isdbg('msg');
-- 
2.43.0