mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-24 03:33:06 +01:00
Plugins: minor style clean-up
This commit is contained in:
parent
6d6689b06e
commit
f32dec200b
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user