From b16b9fc5ef916c5ea2734b23f920a070f58853c1 Mon Sep 17 00:00:00 2001 From: Ryan Voots Date: Fri, 12 Mar 2010 16:40:27 -0500 Subject: [PATCH] removing some of the debug code --- plugins/factoids.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/factoids.pm b/plugins/factoids.pm index b4a559f..978dfa5 100644 --- a/plugins/factoids.pm +++ b/plugins/factoids.pm @@ -348,7 +348,7 @@ sub _fact_substitute pos $pred = $matchstart+length($realsubst)-1; #set the new position, might have an off by one? } - return "G:$regex:$flags:$match:$subst:".$pred; + return $pred; } else { @@ -363,7 +363,7 @@ sub _fact_substitute $pred =~ s/$regex/$realsubst/; } - return "O:$regex:$flags:$match:$subst:".$pred; + return $pred; } } @@ -386,7 +386,7 @@ sub get_fact_substitute { #moving this to its own function for cleanliness $result = $self->_fact_substitute($pred, $match, $subst, $flags); - return "Result was, [$result]"; + return "Result was, [$result]"; } else {