Changeset 14219 for lang/perl/App-Nakanobu
- Timestamp:
- 06/18/08 18:52:33 (5 months ago)
- Location:
- lang/perl/App-Nakanobu/trunk/lib/App
- Files:
-
- 2 modified
-
Nakanobu.pm (modified) (1 diff)
-
Nakanobu/Plugin/Component/IRCClient.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/App-Nakanobu/trunk/lib/App/Nakanobu.pm
r14214 r14219 26 26 default => sub { 27 27 my $self = shift; 28 YAML::LoadFile( $self->conffile ) 28 my $fh = $self->conffile->open('<:utf8') or die $!; 29 my $dat = YAML::Load( do { local $/; <$fh> } ); 30 $fh->close; 31 $dat; 29 32 }, 30 33 ); -
lang/perl/App-Nakanobu/trunk/lib/App/Nakanobu/Plugin/Component/IRCClient.pm
r14216 r14219 134 134 $heap->{irc}->yield( charset => $heap->{plugin}->charset ); 135 135 136 for each( @{ $heap->{plugin}->channels } ) {137 msg "joining channel $ _";138 $heap->{irc}->yield( 'join' => $_);136 for my $channel ( @{ $heap->{plugin}->channels } ) { 137 msg "joining channel $channel"; 138 $heap->{irc}->yield( 'join' => encode( $heap->{plugin}->charset, $channel ) ); 139 139 } 140 140 }
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)