Limit max action length from code-factoid result

This commit is contained in:
Pragmatic Software 2017-08-24 15:19:12 -07:00
parent 556821805f
commit 7f2f32f3d0
1 changed files with 2 additions and 0 deletions

View File

@ -684,6 +684,8 @@ sub interpreter {
$action = "/say Error in factoid: $error";
}
$action = substr $action, 0, 400;
%SIG = %signals;
alarm 1;
}