Changeset 999
- Timestamp:
- 11/01/07 00:29:35 (6 years ago)
- Location:
- lang/perl/mobirc/trunk/mobirc/lib
- Files:
-
- 3 modified
-
Mobirc.pm (modified) (1 diff)
-
Mobirc/HTTPD/Controller.pm (modified) (1 diff)
-
Mobirc/IRCClient.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/mobirc/trunk/mobirc/lib/Mobirc.pm
r996 r999 63 63 my ($self, $hook_point) = @_; 64 64 die "this is instance method" unless blessed $self; 65 return $self->{hooks}->{$hook_point} ;65 return $self->{hooks}->{$hook_point} || []; 66 66 } 67 67 -
lang/perl/mobirc/trunk/mobirc/lib/Mobirc/HTTPD/Controller.pm
r998 r999 272 272 my $content = shift; 273 273 274 for my $code (@{$c->{global_context}->get_hook_codes('html_filter') || []}) {274 for my $code (@{$c->{global_context}->get_hook_codes('html_filter')}) { 275 275 $content = $code->($c, $content); 276 276 } -
lang/perl/mobirc/trunk/mobirc/lib/Mobirc/IRCClient.pm
r997 r999 185 185 DEBUG "IRC NOTICE"; 186 186 187 for my $code (@{ $poe->heap->{global_context}->get_hook_codes('on_irc_notice') || []}) {187 for my $code (@{ $poe->heap->{global_context}->get_hook_codes('on_irc_notice') }) { 188 188 my $finished = $code->($poe, $who, $channel, $msg); 189 189 return if $finished;
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)