projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
and test on the correct thing!
[spider.git]
/
perl
/
cluster.pl
diff --git
a/perl/cluster.pl
b/perl/cluster.pl
index 655a986b1af35dfd881795a3a3ffb320a867dc82..0e321f2326efadff00b9ba70a19ee939037ffe85 100755
(executable)
--- a/
perl/cluster.pl
+++ b/
perl/cluster.pl
@@
-240,6
+240,13
@@
sub rec
}
}
+# remove any outstanding entries on the inqueue after a disconnection (usually)
+sub clean_inqueue
+{
+ my $dxchan = shift;
+ @inqueue = grep {$_->{dxchan} != $dxchan} @inqueue;
+}
+
sub login
{
return \&new_channel;