diff options
Diffstat (limited to 'lib/Reply.pm')
-rw-r--r-- | lib/Reply.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Reply.pm b/lib/Reply.pm index dbb9b24..1534bfe 100644 --- a/lib/Reply.pm +++ b/lib/Reply.pm @@ -86,14 +86,14 @@ sub new { _default_plugin => Reply::Plugin::Defaults->new, }, $class; - $self->_load_plugin($_) for @{ $opts{plugins} || [] }; - if (defined $opts{config}) { print "Loading configuration from $opts{config}... "; $self->_load_config($opts{config}); print "done\n"; } + $self->_load_plugin($_) for @{ $opts{plugins} || [] }; + return $self; } |