projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix all DXChannel->get to ::get
[spider.git]
/
perl
/
DXChannel.pm
diff --git
a/perl/DXChannel.pm
b/perl/DXChannel.pm
index 90e19ef9e2bb433c3d80b397286ed757a7db8c97..ad6e46b7194f0ef469fb6797c0425adc4590980c 100644
(file)
--- a/
perl/DXChannel.pm
+++ b/
perl/DXChannel.pm
@@
-185,11
+185,10
@@
sub rec
}
}
}
}
-# obtain a channel object by callsign [$obj = DXChannel
->
get($call)]
+# obtain a channel object by callsign [$obj = DXChannel
::
get($call)]
sub get
{
sub get
{
- my ($pkg, $call) = @_;
- return $channels{$call};
+ return $channels{$_[0]};
}
# obtain all the channel objects
}
# obtain all the channel objects