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:
parent
72781ca2bb
commit
fd1cf0b9b0
@ -33,8 +33,9 @@ sub new {
|
||||
my (%commands); @commands{@commands} = ('') x @commands;
|
||||
# this list of valid commands should probably be a method or a set of methods
|
||||
$self->{_commands} = \%commands;
|
||||
|
||||
$self->load_plugins;
|
||||
|
||||
# TCPServer handles plugin loader
|
||||
#$self->load_plugins;
|
||||
|
||||
$self;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user