projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
loads of changes and added things
[spider.git]
/
cmd
/
talk.pl
diff --git
a/cmd/talk.pl
b/cmd/talk.pl
index 21adc556b8bc1e98c173aae8172b32de6446b4d9..23efabfc5e2b64999ecfe0345fe325ab013ece98 100644
(file)
--- a/
cmd/talk.pl
+++ b/
cmd/talk.pl
@@
-19,6
+19,10
@@
if ($argv[1] eq '>') {
$line =~ s/^$argv[0]\s*//;
}
$line =~ s/^$argv[0]\s*//;
}
+my $call = $via ? $via : $to;
+my $ref = DXCluster->get($call);
+return (1, "$call not visible on the cluster") if !$ref;
+
my $dxchan = DXCommandmode->get($to); # is it for us?
if ($dxchan && $dxchan->is_user) {
$dxchan->send("$to de $from $line");
my $dxchan = DXCommandmode->get($to); # is it for us?
if ($dxchan && $dxchan->is_user) {
$dxchan->send("$to de $from $line");