From 8e3a95e0b5374ec78adf7725f5ee06fff0758b21 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sun, 18 Feb 2018 20:24:51 -0800 Subject: [PATCH] Spinach: Remove Dumper stuff from edit output --- PBot/Plugins/Spinach.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PBot/Plugins/Spinach.pm b/PBot/Plugins/Spinach.pm index b89c874e..0bb0ef17 100644 --- a/PBot/Plugins/Spinach.pm +++ b/PBot/Plugins/Spinach.pm @@ -316,6 +316,8 @@ sub spinach_cmd { if (not defined $key) { my $dump = Dumper $question; + $dump =~ s/\$VAR\d+ = \{\s*//; + $dump =~ s/ \};\s*$//; return "$nick: Question $id: $dump"; }