Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed method 'new', as per the rakudo warning. Also made sure everyth…

…ing was being encoded correctly by rakudo (some kinda internal parrot bug)
  • Loading branch information...
commit 541150f0939fd26d8374054b8416e58c9a39a5d1 1 parent db46699
@TiMBuS authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Net/IRC/
4 lib/Net/IRC/
@@ -29,7 +29,7 @@ class Net::IRC::Bot {
#TODO: Make this an object for cleaner syntax.
has %state is rw;
- method new(|$) {
+ method new(|) {
my $obj = callsame();
@@ -79,7 +79,7 @@ class Net::IRC::Bot {
loop {
#XXX: Support for timed events?
- my $line = $conn.get
+ my $line = $conn.get.encode('utf-8').decode('utf8')
or die "Connection error.";
my $event = Net::IRC::Parser::RawEvent.parse($line)
Please sign in to comment.
Something went wrong with that request. Please try again.