diff options
author | Zoffix Znet <zoffixznet@users.noreply.github.com> | 2018-08-02 13:28:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-02 13:28:42 -0400 |
commit | 723424b2cea164bf7d93f492afe39f409af916e0 (patch) | |
tree | f28b64a41986e767239e4d927b3667faed25e980 /lib/IRC | |
parent | 50a1adc8ef3f0f4cb9ddf0f9c9bce95b0eaf064a (diff) |
Update Client.pm6
Diffstat (limited to 'lib/IRC')
-rw-r--r-- | lib/IRC/Client.pm6 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/IRC/Client.pm6 b/lib/IRC/Client.pm6 index 40353b3..c94fbff 100644 --- a/lib/IRC/Client.pm6 +++ b/lib/IRC/Client.pm6 @@ -25,7 +25,8 @@ has Channel $!socket-pipe = Channel.new; my &colored = (try require Terminal::ANSIColor) === Nil && sub (Str $s, $) { $s } || ::('Terminal::ANSIColor::EXPORT::DEFAULT::&colored'); -$! = Nil; # don't serialize any exceptions from the above +BEGIN $! = Nil; + $! = Nil; # don't serialize any exceptions from the above submethod BUILD ( Int:D :$!debug = 0, |