projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove probable chat lines coming in with '*' sysop flag
[spider.git]
/
perl
/
cluster.pl
diff --git
a/perl/cluster.pl
b/perl/cluster.pl
index 58742e1952bd78b3e8618c8d51451c8c083a7f3f..c005027911b49102e4030b85082b55424831b2df 100755
(executable)
--- a/
perl/cluster.pl
+++ b/
perl/cluster.pl
@@
-33,7
+33,7
@@
BEGIN {
# try to create and lock a lockfile (this isn't atomic but
# should do for now
# try to create and lock a lockfile (this isn't atomic but
# should do for now
- $lockfn = "$root/
per
l/cluster.lck"; # lock file name
+ $lockfn = "$root/
loca
l/cluster.lck"; # lock file name
if (-e $lockfn) {
open(CLLOCK, "$lockfn") or die "Can't open Lockfile ($lockfn) $!";
my $pid = <CLLOCK>;
if (-e $lockfn) {
open(CLLOCK, "$lockfn") or die "Can't open Lockfile ($lockfn) $!";
my $pid = <CLLOCK>;
@@
-244,7
+244,7
@@
sub rec
sub clean_inqueue
{
my $dxchan = shift;
sub clean_inqueue
{
my $dxchan = shift;
- @inqueue = grep {$_ != $dxchan} @inqueue;
+ @inqueue = grep {$_
->{dxchan}
!= $dxchan} @inqueue;
}
sub login
}
sub login
@@
-406,7
+406,7
@@
dbg("DXSpider Version $version, build $build started");
# load Prefixes
dbg("loading prefixes ...");
# load Prefixes
dbg("loading prefixes ...");
-my $r = Prefix::
load
();
+my $r = Prefix::
init
();
confess $r if $r;
dbg(USDB::init());
confess $r if $r;
dbg(USDB::init());