Hello,

Tuesday, July 27, 2004, 10:05:05 AM, spaze wrote:
> Use of uninitialized value in addition (+) at
> ./plugins/count_unrecognized_commands line 38, <STDIN> line 267.

This (probably wrapped) change should fix it, thanks to Roger Walker:

--- count_unrecognized_commands.orig    2004-03-05 13:46:24.000000000 +0100
+++ count_unrecognized_commands 2004-07-28 14:51:23.000000000 +0200
@@ -36,7 +36,7 @@

   my $badcmdcount =
     $self->qp->connection->notes('unrec_cmd_count',
-                                $self->qp->connection->notes('unrec_cmd_count') + 1
+                                ($self->qp->connection->notes('unrec_cmd_count') || 
0) + 1
                                );

   if ($badcmdcount >= $self->{_unrec_cmd_max}) {

-- 
spaze

Reply via email to