We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af272a7 commit 282650fCopy full SHA for 282650f
evalbot.pl
@@ -229,7 +229,6 @@ package Evalbot;
229
for my $eval_name (@{ $aliases{$eval_name} }) {
230
my $e = $impls{$eval_name};
231
my $tmp_res = EvalbotExecuter::run($str, $e, $eval_name);
232
- $tmp_res =~ s|/tmp/\w{10}|/tmp/tmpfile|g;
233
my $revision = '';
234
if (reftype($e) eq 'HASH' && $e->{revision}){
235
$revision = $e->{revision}->();
@@ -299,6 +298,7 @@ package Evalbot;
299
298
my $null = "\N{SYMBOL FOR NULL}";
300
$response =~ s/\n/$newline/g;
301
$response =~ s/\x00/$null/g;
+ $response =~ s|/tmp/\w{10}|/tmp/tmpfile|g;
302
$response = IRC::FromANSI::Tiny::convert($response);
303
304
my $format_len = length(encode_utf8(sprintf $format_res, $prefix, ''));
0 commit comments