mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-01 16:39:27 +01:00
Plugins/UrlTitles: fix indentation
This commit is contained in:
parent
02cc7fc488
commit
c1cfa0ef4e
@ -39,7 +39,7 @@ sub initialize {
|
|||||||
# can be overridden per-channel
|
# can be overridden per-channel
|
||||||
$self->{pbot}->{registry}->add_default('text', 'general', 'show_url_titles', $conf{show_url_titles} // 1);
|
$self->{pbot}->{registry}->add_default('text', 'general', 'show_url_titles', $conf{show_url_titles} // 1);
|
||||||
|
|
||||||
# listen to these handlers
|
# handle these events
|
||||||
$self->{pbot}->{event_dispatcher}->register_handler('irc.public', sub { $self->show_url_titles(@_) });
|
$self->{pbot}->{event_dispatcher}->register_handler('irc.public', sub { $self->show_url_titles(@_) });
|
||||||
$self->{pbot}->{event_dispatcher}->register_handler('irc.caction', sub { $self->show_url_titles(@_) });
|
$self->{pbot}->{event_dispatcher}->register_handler('irc.caction', sub { $self->show_url_titles(@_) });
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user