3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-26 22:09:26 +01:00

Spinach: Remove Dumper stuff from edit output

This commit is contained in:
Pragmatic Software 2018-02-18 20:24:51 -08:00
parent 6f0bbc1233
commit 8e3a95e0b5

View File

@ -316,6 +316,8 @@ sub spinach_cmd {
if (not defined $key) { if (not defined $key) {
my $dump = Dumper $question; my $dump = Dumper $question;
$dump =~ s/\$VAR\d+ = \{\s*//;
$dump =~ s/ \};\s*$//;
return "$nick: Question $id: $dump"; return "$nick: Question $id: $dump";
} }