diff --git a/lib/Net/IRC/Event.pm b/lib/Net/IRC/Event.pm index f676e62..f9a6bcc 100644 --- a/lib/Net/IRC/Event.pm +++ b/lib/Net/IRC/Event.pm @@ -24,7 +24,7 @@ class Net::IRC::Event { my $prepend-length = $prepend.encode.bytes + $.state.encode.bytes + - $.state.encode.bytes; + $.state.encode.bytes; $.conn.sendln($prepend~$_) for cut($text, $prepend-length); } @@ -33,7 +33,7 @@ class Net::IRC::Event { my $prepend-length = $prepend.encode.bytes + $.state.encode.bytes + - $.state.encode.bytes; + $.state.encode.bytes; $.conn.sendln($prepend~$_) for cut($text, $prepend-length); }