Here's a patch to make ConfigServer.pm in trunk understand that the stats
plugin no longer has a register function.

Brian



--- trunk/lib/Qpsmtpd/ConfigServer.pm-orig      2006-06-17 14:39:11.000000000 
-0600
+++ trunk/lib/Qpsmtpd/ConfigServer.pm   2006-06-19 09:40:51.000000000 -0600
@@ -155,7 +155,7 @@
     
     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 @@
 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

Reply via email to