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
This commit is contained in:
Matt Sergeant 2006-06-27 20:28:36 +00:00
parent 5ff2ef7cac
commit bcbe52f2f8

View File

@ -155,7 +155,7 @@ sub cmd_status {
my $output = "Current Status as of " . gmtime() . " GMT\n\n"; 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 # Stats plugin is loaded
$output .= Qpsmtpd::Plugin::stats->get_stats; $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 can connect to. This allows you to view current connection statistics and other
gumph that you probably don't care about. gumph that you probably don't care about.
=cut =cut