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:
parent
6f0bbc1233
commit
8e3a95e0b5
@ -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";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user