projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change DXUser->get* to DXUser::get*
[spider.git]
/
perl
/
cluster.pl
diff --git
a/perl/cluster.pl
b/perl/cluster.pl
index 0fe3b575a98588be279dac7e658f24170219a8e3..6791896682c75922543246e1a79761300bdd76bb 100755
(executable)
--- a/
perl/cluster.pl
+++ b/
perl/cluster.pl
@@
-165,7
+165,7
@@
sub new_channel
# set up the basic channel info
# is there one already connected to me - locally?
# set up the basic channel info
# is there one already connected to me - locally?
- my $user = DXUser
->
get_current($call);
+ my $user = DXUser
::
get_current($call);
my $dxchan = DXChannel::get($call);
if ($dxchan) {
if ($user && $user->is_node) {
my $dxchan = DXChannel::get($call);
if ($dxchan) {
if ($user && $user->is_node) {
@@
-186,7
+186,7
@@
sub new_channel
# is he locked out ?
my $basecall = $call;
$basecall =~ s/-\d+$//;
# is he locked out ?
my $basecall = $call;
$basecall =~ s/-\d+$//;
- my $baseuser = DXUser
->
get_current($basecall);
+ my $baseuser = DXUser
::
get_current($basecall);
my $lock = $user->lockout if $user;
if ($baseuser && $baseuser->lockout || $lock) {
if (!$user || !defined $lock || $lock) {
my $lock = $user->lockout if $user;
if ($baseuser && $baseuser->lockout || $lock) {
if (!$user || !defined $lock || $lock) {
@@
-208,8
+208,8
@@
sub new_channel
$dxchan = DXProt->new($call, $conn, $user);
} elsif ($user->is_user) {
$dxchan = DXCommandmode->new($call, $conn, $user);
$dxchan = DXProt->new($call, $conn, $user);
} elsif ($user->is_user) {
$dxchan = DXCommandmode->new($call, $conn, $user);
- } elsif ($user->is_bbs) {
- $dxchan = BBS->new($call, $conn, $user);
+# } elsif ($user->is_bbs) { # there is no support so
+# $dxchan = BBS->new($call, $conn, $user); # don't allow it!!!
} else {
die "Invalid sort of user on $call = $sort";
}
} else {
die "Invalid sort of user on $call = $sort";
}
@@
-387,9
+387,9
@@
DXUser->init($userfn, 1);
# look for the sysop and the alias user and complain if they aren't there
{
# look for the sysop and the alias user and complain if they aren't there
{
- my $ref = DXUser
->
get($mycall);
+ my $ref = DXUser
::
get($mycall);
die "$mycall missing, run the create_sysop.pl script and please RTFM" unless $ref && $ref->priv == 9;
die "$mycall missing, run the create_sysop.pl script and please RTFM" unless $ref && $ref->priv == 9;
- $ref = DXUser
->
get($myalias);
+ $ref = DXUser
::
get($myalias);
die "$myalias missing, run the create_sysop.pl script and please RTFM" unless $ref && $ref->priv == 9;
}
die "$myalias missing, run the create_sysop.pl script and please RTFM" unless $ref && $ref->priv == 9;
}