3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-04 18:38:47 +02:00

Plugins: minor style clean-up

This commit is contained in:
Pragmatic Software 2020-02-09 13:10:34 -08:00
parent 6d6689b06e
commit f32dec200b

View File

@ -81,8 +81,7 @@ sub load {
$self->{pbot}->{logger}->log("Loading $plugin\n");
my $class = "Plugins::$plugin";
my $mod = $class->new(pbot => $self->{pbot}, %conf);
$self->{plugins}->{$plugin} = $mod;
$self->{plugins}->{$plugin} = $class->new(pbot => $self->{pbot}, %conf);
$self->{pbot}->{refresher}->{refresher}->update_cache("$path/$plugin.pm");
return 1;
};