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:
parent
5ff2ef7cac
commit
bcbe52f2f8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user