projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
I think I have most the SSID probs cracked.
[spider.git]
/
perl
/
cluster.pl
diff --git
a/perl/cluster.pl
b/perl/cluster.pl
index d783bff33fa553deb411d410752bca80b51e87ef..f1b467321219f222df82efaaffd7dabb8722165c 100755
(executable)
--- a/
perl/cluster.pl
+++ b/
perl/cluster.pl
@@
-27,6
+27,7
@@
use Msg;
use DXVars;
use DXDebug;
use DXLog;
use DXVars;
use DXDebug;
use DXLog;
+use DXLogPrint;
use DXUtil;
use DXChannel;
use DXUser;
use DXUtil;
use DXChannel;
use DXUser;
@@
-85,7
+86,8
@@
sub rec
}
# is there one already connected elsewhere in the cluster?
}
# is there one already connected elsewhere in the cluster?
- if (DXCluster->get($call)) {
+ if (($call eq $main::myalias && DXCluster->get_exact($call)) ||
+ DXCluster->get($call)) {
my $mess = DXM::msg($lang, 'concluster', $call);
dbg('chan', "-> D $call $mess\n");
$conn->send_now("D$call|$mess");
my $mess = DXM::msg($lang, 'concluster', $call);
dbg('chan', "-> D $call $mess\n");
$conn->send_now("D$call|$mess");
@@
-95,6
+97,7
@@
sub rec
return;
}
return;
}
+ # the user MAY have an SSID if local, but otherwise doesn't
my $user = DXUser->get($call);
if (!defined $user) {
$user = DXUser->new($call);
my $user = DXUser->get($call);
if (!defined $user) {
$user = DXUser->new($call);
@@
-149,7
+152,7
@@
sub process_inqueue
my $data = $self->{data};
my $dxchan = $self->{dxchan};
my $data = $self->{data};
my $dxchan = $self->{dxchan};
- my ($sort, $call, $line) = $data =~ /^(\w)(\
w
+)\|(.*)$/;
+ my ($sort, $call, $line) = $data =~ /^(\w)(\
S
+)\|(.*)$/;
# do the really sexy console interface bit! (Who is going to do the TK interface then?)
dbg('chan', "<- $sort $call $line\n");
# do the really sexy console interface bit! (Who is going to do the TK interface then?)
dbg('chan', "<- $sort $call $line\n");