From 1d7c2a0959a8e91ff3d6ccb279fd6928d397e602 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 8 Jun 2013 13:25:47 -0500 Subject: this makes more sense to happen at the end --- lib/Reply.pm | 4 ++-- 1 file 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; } -- cgit v1.2.3-54-g00ecf