summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-06-08 13:25:47 -0500
committerJesse Luehrs <doy@tozt.net>2013-06-08 13:25:47 -0500
commit1d7c2a0959a8e91ff3d6ccb279fd6928d397e602 (patch)
tree7bf87ffc1c7067fc63220632c9ce33df65c130b5
parentdc7244fa1625a30fde2641b1d86ca42e87852866 (diff)
downloadreply-1d7c2a0959a8e91ff3d6ccb279fd6928d397e602.tar.gz
reply-1d7c2a0959a8e91ff3d6ccb279fd6928d397e602.zip
this makes more sense to happen at the end
-rw-r--r--lib/Reply.pm4
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;
}