Qpsmtpd::TCPServer will handle calling load_plugins. We *really* only

want to call it once per process.


git-svn-id: https://svn.perl.org/qpsmtpd/trunk@310 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
Robert Spier 2004-09-07 05:50:36 +00:00
parent 72781ca2bb
commit fd1cf0b9b0

View File

@ -33,8 +33,9 @@ sub new {
my (%commands); @commands{@commands} = ('') x @commands; my (%commands); @commands{@commands} = ('') x @commands;
# this list of valid commands should probably be a method or a set of methods # this list of valid commands should probably be a method or a set of methods
$self->{_commands} = \%commands; $self->{_commands} = \%commands;
$self->load_plugins; # TCPServer handles plugin loader
#$self->load_plugins;
$self; $self;
} }