aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorZoffix Znet <cpan@zoffix.com>2016-07-26 12:26:56 -0400
committerZoffix Znet <cpan@zoffix.com>2016-07-26 12:26:56 -0400
commitbcc921c6e0f596cc3217d1e49ab9cae8c67b961a (patch)
tree78bf85bf013c19ed2eb10d2a25bf06fe9b9129a8 /lib
parent7f7226c872f09e01889831a5afe59cb2c972eb01 (diff)
Remove extraneous catch
Diffstat (limited to 'lib')
-rw-r--r--lib/IRC/Client.pm63
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/IRC/Client.pm6 b/lib/IRC/Client.pm6
index 9e3bfbd..bd10196 100644
--- a/lib/IRC/Client.pm6
+++ b/lib/IRC/Client.pm6
@@ -94,8 +94,6 @@ method send (:$where!, :$text!, :$server, :$notice) {
}
method send-cmd ($cmd, *@args is copy, :$server, :$prefix = '') {
- CATCH { default { warn $_; warn .backtrace } }
-
if $cmd eq 'NOTICE'|'PRIVMSG' and @!filters
and my @f = @!filters.grep({
.signature.ACCEPTS: \(@args[1])
@@ -104,7 +102,6 @@ method send-cmd ($cmd, *@args is copy, :$server, :$prefix = '') {
{
start {
CATCH { default { warn $_; warn .backtrace } }
-
my ($where, $text) = @args;
for @f -> $f {
given $f.signature.params.elems {