3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-23 04:19:27 +01:00

Forgot a return 0 in an IRC handler, causing other related handlers to not fire after that handler

This commit is contained in:
Pragmatic Software 2016-09-28 14:13:44 -07:00
parent 49a21b2027
commit c64dca7b07

View File

@ -180,6 +180,7 @@ sub on_activity {
my ($self, $event_type, $event) = @_; my ($self, $event_type, $event) = @_;
my ($nick, $user, $host, $channel) = ($event->{event}->nick, $event->{event}->user, $event->{event}->host, $event->{event}->{to}[0]); my ($nick, $user, $host, $channel) = ($event->{event}->nick, $event->{event}->user, $event->{event}->host, $event->{event}->{to}[0]);
$self->update_timestamp($channel, $nick); $self->update_timestamp($channel, $nick);
return 0;
} }
sub on_join { sub on_join {