From bcc921c6e0f596cc3217d1e49ab9cae8c67b961a Mon Sep 17 00:00:00 2001 From: Zoffix Znet Date: Tue, 26 Jul 2016 12:26:56 -0400 Subject: Remove extraneous catch --- lib/IRC/Client.pm6 | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib') 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 { -- cgit v1.1