]> git.99rst.org Git - irssi-scripts.irssi.org.git/commitdiff
Use the Encode module in rainbow.pl
authorMichal Rus <redacted>
Tue, 20 Jan 2015 13:16:39 +0000 (13:16 +0000)
committerMichal Rus <redacted>
Tue, 20 Jan 2015 13:16:44 +0000 (13:16 +0000)
Before, I was getting:

```
12:55:46 -!- Irssi: Error in script rainbow:
12:55:46 Undefined subroutine &Encode::_utf8_on called at /home/m/.irssi/scripts/autorun/rainbow.pl line 50.
```

scripts/rainbow.pl

index 0dd292dd9c3f08fe1678344356446cce1385b0a8..80e5d407b19a7961ef6973140f323dae27fa58f9 100644 (file)
@@ -35,6 +35,7 @@ $VERSION = "1.6";
 
 use Irssi;
 use Irssi::Irc;
+use Encode;
 
 # colors list
 #  0 == white
git clone https://git.99rst.org/PROJECT