3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-24 19:52:34 +01:00

Users: restore missing join handler

This commit is contained in:
Pragmatic Software 2020-02-06 01:17:09 -08:00
parent 63f6ccb80c
commit b82dd92278

View File

@ -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 {