From fd1cf0b9b0e76bfc6f5de1cba28bfdf8c12841e9 Mon Sep 17 00:00:00 2001 From: Robert Spier Date: Tue, 7 Sep 2004 05:50:36 +0000 Subject: [PATCH] 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 --- lib/Qpsmtpd/SMTP.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Qpsmtpd/SMTP.pm b/lib/Qpsmtpd/SMTP.pm index 3e7bdbc..b4a27cb 100644 --- a/lib/Qpsmtpd/SMTP.pm +++ b/lib/Qpsmtpd/SMTP.pm @@ -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; }