X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProt.pm;h=ed5e417150724e9c1bb91ce75efeee1a4de2cba8;hb=fa57f72c26032aae4c1a20358e829ba9afbf460c;hp=58dfd4973877731827c87d9695274917f0b3f13c;hpb=ab568d677a2d2243eabee315b3e609c4ea4f73a0;p=spider.git diff --git a/perl/DXProt.pm b/perl/DXProt.pm index 58dfd497..ed5e4171 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -104,9 +104,10 @@ sub normal # yes, it is my $text = unpad($field[3]); + Log('talk', $call, $field[1], $field[6], $text); + $call = $main::myalias if $call eq $main::mycall; my $ref = DXChannel->get($call); $ref->send("$call de $field[1]: $text") if $ref; - Log('talk', $call, $field[1], $field[6], $text); } else { route($field[2], $line); # relay it on its way } @@ -294,7 +295,11 @@ sub normal } if ($pcno == 22) { - last SWITCH; + $self->state('normal'); + + # queue mail + DXMsg::queue_msg(); + return; } if ($pcno == 23 || $pcno == 27) { # WWV info