|
In my login page, I got<input name="Channel" type="radio" value="#Torget,#misc,#Hjälp" checked="1"/>Then I start the chat, it results in joining the channel
#Hj?Add this line to line 922 in nph-irc.cgi to fix the problem:
$cgi->{chan} = Encode::encode_utf8($cgi->{chan});I'll try to add this as an attachment....
|
2005-Sep-29 04:36:40 by anonymous:
--- cgiirc-0.5.7/nph-irc.cgi 2005-06-19 20:38:53.000000000 +0200 +++ cgiirc/nph-irc.cgi 2005-09-29 06:36:09.000000000 +0200 @@ -918,8 +918,10 @@ unless(access_configcheck('channel', $cgi->{chan})) { message('access channel denied', $cgi->{chan}); $cgi->{chan} = (split /,/, $config->{default_channel})[0]; } + + $cgi->{chan} = Encode::encode_utf8($cgi->{chan}); $irc->join($cgi->{chan} . (defined $key ? ' ' . $key : '')); say_command($_, 'Status') for split(/;/, $config->{perform}); }
|
Type: code Version: 0.5.7 Status: new Created: 2005-Sep-29 04:28 Severity: 4 Last Change: 2005-Sep-29 04:28 Priority: 3 Subsystem: core Assigned To: dgl Derived From: Creator: anonymous Operating system: perl v5.8.4
| 2006-Apr-30 12:51 | • | Check-in [265] : Fixes for tickets: #27 , #60 , #68 , #69 , #70 , #71 , #92 , #131 , #144 (By dgl) |