Changeset 971
- Timestamp:
- 10/31/07 22:23:07 (15 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/mobirc/trunk/mobirc/lib/Mobirc/IRCClient.pm
r970 r971 105 105 $channel =~ s/ .*//; 106 106 107 my $canon_channel = canon_name($channel); 108 107 109 my $canon_channel = normalize_channel_name($channel); 108 110 … … 131 133 # chop off after the gap (bug workaround of POE::Filter::IRC) 132 134 $channel =~ s/ .*//; 135 136 my $canon_channel = canon_name($channel); 133 137 134 138 my $canon_channel = normalize_channel_name($channel); … … 370 374 } 371 375 376 # FIXME: I want more cool implement 372 377 sub _get_args { 373 378 my $poe = shift; 374 379 375 return map { decode($poe->heap->{config}->{irc}->{incode}, $_) } @{ $poe->args }; 380 my @ret; 381 for my $elem (@{$poe->args}) { 382 if ( ref $elem && ref $elem eq 'ARRAY') { 383 push @ret, [map { decode($poe->heap->{config}->{irc}->{incode}, $_) } @$elem]; 384 } else { 385 push @ret, decode($poe->heap->{config}->{irc}->{incode}, $elem); 386 } 387 } 388 return @ret; 376 389 } 377 390
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)