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 4b7abd585696bf2dabd4f9c8be63cc43a7072a98..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) {
@@
-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;
}