}
$self->{inqueue} = [];
+ if ($conn) {
+ $self->{hostname} = $self->{conn}->peerhost;
+ $self->{sockhost} = $self->{conn}->sockhost;
+ }
+
$count++;
dbg("DXChannel $self->{call} created ($count)") if isdbg('chan');
bless $self, $pkg;
if ($sort ne 'D') {
if (isdbg('chan')) {
if (($self->is_rbn && isdbg('rbnchan')) || !$self->is_rbn) {
- dbg("<- $sort $call $line") if isdbg('chan');
+ dbg("<- $sort $call $line") if isdbg('chan'); # you may think this is tautology, but it's needed get the correct label on the debug line
}
}
}