From bcbe52f2f84bdfc4a0f9ee2963675f8ca0bf25bd Mon Sep 17 00:00:00 2001 From: Matt Sergeant Date: Tue, 27 Jun 2006 20:28:36 +0000 Subject: [PATCH] stats plugin doesn't have a register() function any more (Brian Grossman) git-svn-id: https://svn.perl.org/qpsmtpd/trunk@646 958fd67b-6ff1-0310-b445-bb7760255be9 --- lib/Qpsmtpd/ConfigServer.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Qpsmtpd/ConfigServer.pm b/lib/Qpsmtpd/ConfigServer.pm index 2200cb0..ba9e065 100644 --- a/lib/Qpsmtpd/ConfigServer.pm +++ b/lib/Qpsmtpd/ConfigServer.pm @@ -155,7 +155,7 @@ sub cmd_status { my $output = "Current Status as of " . gmtime() . " GMT\n\n"; - if (defined &Qpsmtpd::Plugin::stats::register) { + if (defined &Qpsmtpd::Plugin::stats::get_stats) { # Stats plugin is loaded $output .= Qpsmtpd::Plugin::stats->get_stats; } @@ -282,4 +282,4 @@ When qpsmtpd runs in multiplex mode it also provides a config server that you can connect to. This allows you to view current connection statistics and other gumph that you probably don't care about. -=cut \ No newline at end of file +=cut