disconnecting => '9,Disconnecting,yesno',
ann_talk => '0,Suppress Talk Anns,yesno',
metric => '1,Route metric',
+ badcount => '1,Bad Word Count',
+ edit => '7,Edit Function',
);
use vars qw($VERSION $BRANCH);
{
my ($self, $flag, $node, $user) = @_;
my $nref = Route::Node::get($node);
- if ($nref) {
- if ($nref->dxchan == $self) {
+ my $dxchan = $nref->dxchan if $nref;
+ if ($nref && $dxchan) {
+ if ($dxchan == $self) {
return 1 unless $user;
my @users = $nref->users;
return 1 if @users == 0 || grep $user eq $_, @users;
# broadcast a message to all clusters ignoring isolation
# [except those mentioned after buffer]
-sub broadcast_all_ak1a
+sub broadcast_all_nodes
{
my $s = shift; # the line to be rebroadcast
my @except = @_; # to all channels EXCEPT these (dxchannel refs)