$user->new_buddies unless $user->buddies;
$self->{group} = $user->group;
$self->{sort} = $user->sort;
+ $self->{width} = $user->width;
}
$self->{startt} = $self->{t} = time;
$self->{state} = 0;
$self->{oldstate} = 0;
$self->{lang} = $main::lang if !$self->{lang};
$self->{func} = "";
+ $self->{width} ||= 80;
+
# add in all the dxcc, itu, zone info
my @dxcc = Prefix::extract($call);
$dxchan->disconnect;
} elsif ($sort eq 'D') {
; # ignored (an echo)
+ } elsif ($sort eq 'C') {
+ $dxchan->width($line); # change number of columns
} elsif ($sort eq 'G') {
$dxchan->enhanced($line);
} else {
return $r;
}
+sub registered
+{
+ my $self = shift;
+
+ # the sysop is registered!
+ return 1 if $self->call eq $main::myalias || $self->call eq $main::mycall;
+
+ if ($main::reqreg) {
+ return $self->{registered};
+ } else {
+ return 1;
+ }
+}
+
#no strict;
sub AUTOLOAD
{