From fc3d267c92c15f2c29cd3195b746af319aa02ed3 Mon Sep 17 00:00:00 2001 From: Ryan Voots Date: Mon, 31 Jan 2011 22:03:13 -0500 Subject: [PATCH] food --- plugins/compose.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/compose.pm b/plugins/compose.pm index c707eb5..c9d3d52 100644 --- a/plugins/compose.pm +++ b/plugins/compose.pm @@ -101,7 +101,7 @@ sub runplugin { $captured and local $said->{captured} = 1; # but things called on top-level of compose are captured only if the compose itself is captured - $said->{recursion} = $said->{recursion}-1; # recurse things + local $said->{recursion} = $said->{recursion}-1; # recurse things if( $said->{recursion} == 0) { return( 0, "Deep recursion on $cmd" ); } local $@;