fix registration checking on call+ssid
[spider.git] / perl / cluster.pl
index 55e0badbcfd0484abd98606facb4253b00c4f2aa..9416a7f3a8578769a2a4152895433646cc00cc8b 100755 (executable)
@@ -263,8 +263,8 @@ sub new_channel
                        $lock = $user->lockout;
                } elsif ($basecall ne $call) {
                        # if there isn't a SSID on the $call, then try the base
-                       $user = DXUser::get_current($basecall);
-                       $lock = $user->lockout if $user;
+                       my $luser = DXUser::get_current($basecall);
+                       $lock = $luser->lockout if $luser;
                }
 
                # now deal with the lock