mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-29 23:39:24 +01:00
Channels: fix gain_ops() call
This commit is contained in:
parent
a26411fbc4
commit
ea67642872
@ -119,7 +119,7 @@ sub join {
|
||||
delete $self->{pbot}->{chanops}->{op_requested}->{$channel};
|
||||
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user