From b82dd92278572713ee78a13b6b5aa2c8617c7cb7 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Thu, 6 Feb 2020 01:17:09 -0800 Subject: [PATCH] Users: restore missing join handler --- PBot/Users.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PBot/Users.pm b/PBot/Users.pm index fb5fd7e1..f7845b51 100644 --- a/PBot/Users.pm +++ b/PBot/Users.pm @@ -45,6 +45,8 @@ sub initialize { $self->{pbot}->{capabilities}->add('admin', 'can-userset', 1); $self->{pbot}->{capabilities}->add('admin', 'can-userunset', 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 {