+12Jan14=======================================================================
+1. Fix minor issue with dx command when used in a script, as found by
+ Christian Furst.
+2. Fix (rather serious) error in import_cmd that did not reset callsigns
+ correctly in $main::me.
30Dec13=======================================================================
1. Add CTY2312 prefix changes
19Nov13=======================================================================
my $ipaddr;
-if ($self->conn->peerhost) {
+if ($self->conn && $self->conn->peerhost) {
my $addr = $self->conn->peerhost;
$ipaddr = $addr unless !is_ipaddr($addr) || $addr =~ /^127\./ || $addr =~ /^::[0-9a-f]+$/;
+} elsif ($self->inscript) {
+ $ipaddr = "script";
}
# Store it here (but only if it isn't baddx)
$dxchan->{priv} = $u->priv;
$dxchan->{user} = $u;
@out = $s->run($dxchan, 1);
- $dxchan->{call} = $call;
+ $dxchan->{call} = $old;
$dxchan->{priv} = $priv;
$dxchan->{user} = $user;
} else {
my $nref = Route::Node::get($call);
unless ($nref) {
- dbg("ERROR: broadcast_pc92_update - Route::Node $call disappeared");
+ cluck("ERROR: broadcast_pc92_update - Route::Node $call disappeared");
return;
}
my $l = $nref->last_PC92C(gen_my_pc92_config($nref));
my $nref = Route::Node::get($call);
unless ($nref) {
- dbg("ERROR: broadcast_pc92_keepalive - Route::Node $call disappeared");
+ cluck("ERROR: broadcast_pc92_keepalive - Route::Node $call disappeared");
return;
}
my $l = pc92k($nref);
$version = '1.55';
$subversion = '0';
-$build = '138';
-$gitversion = '9e086e9';
+$build = '140';
+$gitversion = '94c061b';
1;