mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-24 03:33:06 +01:00
Users: restore missing join handler
This commit is contained in:
parent
63f6ccb80c
commit
b82dd92278
@ -45,6 +45,8 @@ sub initialize {
|
|||||||
$self->{pbot}->{capabilities}->add('admin', 'can-userset', 1);
|
$self->{pbot}->{capabilities}->add('admin', 'can-userset', 1);
|
||||||
$self->{pbot}->{capabilities}->add('admin', 'can-userunset', 1);
|
$self->{pbot}->{capabilities}->add('admin', 'can-userunset', 1);
|
||||||
$self->{pbot}->{capabilities}->add('can-modify-admins', undef, 1);
|
$self->{pbot}->{capabilities}->add('can-modify-admins', undef, 1);
|
||||||
|
|
||||||
|
$self->{pbot}->{event_dispatcher}->register_handler('irc.join', sub { $self->on_join(@_) });
|
||||||
}
|
}
|
||||||
|
|
||||||
sub on_join {
|
sub on_join {
|
||||||
|
Loading…
Reference in New Issue
Block a user