diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-06-08 13:25:47 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-06-08 13:25:47 -0500 |
commit | 1d7c2a0959a8e91ff3d6ccb279fd6928d397e602 (patch) | |
tree | 7bf87ffc1c7067fc63220632c9ce33df65c130b5 /lib/Reply.pm | |
parent | dc7244fa1625a30fde2641b1d86ca42e87852866 (diff) | |
download | reply-1d7c2a0959a8e91ff3d6ccb279fd6928d397e602.tar.gz reply-1d7c2a0959a8e91ff3d6ccb279fd6928d397e602.zip |
this makes more sense to happen at the end
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; } |