my $t = ztime(time);
my $tonode;
my $sysopflag;
+return (1, $self->msg('e5')) if $self->remotecmd;
+return (1, $self->msg('e28')) unless $self->registered;
if ($sort eq "FULL") {
$line =~ s/^$f[0]\s+//; # remove it
$to = "LOCAL";
}
-DXProt::broadcast_list("WX de $from <$t>: $line", @locals);
+DXChannel::broadcast_list("WX de $from <$t>: $line", 'wx', undef, @locals);
if ($to ne "LOCAL") {
$line =~ s/\^//og; # remove ^ characters!
- my $pc = DXProt::pc12($self, $line, $tonode, $sysopflag, 1);
- DXProt::broadcast_ak1a($pc);
+ my $pc = DXProt::pc12($from, $line, $tonode, $sysopflag, 1);
+ DXChannel::broadcast_nodes($pc, $main::me);
}
return (1, ());