3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-20 02:49:49 +01:00

Channels: fix gain_ops() call

This commit is contained in:
Pragmatic Software 2020-05-03 19:27:04 -07:00
parent a26411fbc4
commit ea67642872

View File

@ -119,7 +119,7 @@ sub join {
delete $self->{pbot}->{chanops}->{op_requested}->{$channel}; delete $self->{pbot}->{chanops}->{op_requested}->{$channel};
if ($self->{channels}->exists($channel) and $self->{channels}->get_data($channel, 'permop')) { if ($self->{channels}->exists($channel) and $self->{channels}->get_data($channel, 'permop')) {
$self->gain_ops($channel); $self->{pbot}->{chanops}->gain_ops($channel);
} }
$self->{pbot}->{conn}->mode($channel); $self->{pbot}->{conn}->mode($channel);