mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-23 12:29: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:
parent
49a21b2027
commit
c64dca7b07
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user