Changeset 970
- Timestamp:
- 10/31/07 22:23:05 (13 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/mobirc/trunk/mobirc/lib/Mobirc/IRCClient.pm
r937 r970 349 349 decode( 'utf8', '*server*' ), 350 350 undef, 351 $message,351 decode( 'utf8', $message), 352 352 'snotice', 353 353 ); … … 370 370 } 371 371 372 # FIXME: I want more cool implement373 372 sub _get_args { 374 373 my $poe = shift; 375 374 376 my @ret; 377 for my $elem (@{$poe->args}) { 378 if ( ref $elem && ref $elem eq 'ARRAY') { 379 push @ret, [map { decode($poe->heap->{config}->{irc}->{incode}, $_) } @$elem]; 380 } else { 381 push @ret, decode($poe->heap->{config}->{irc}->{incode}, $elem); 382 } 383 } 384 return @ret; 375 return map { decode($poe->heap->{config}->{irc}->{incode}, $_) } @{ $poe->args }; 385 376 } 386 377
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)