diff --git a/PBot/Factoids.pm b/PBot/Factoids.pm index db37daac..60a76582 100644 --- a/PBot/Factoids.pm +++ b/PBot/Factoids.pm @@ -684,6 +684,8 @@ sub interpreter { $action = "/say Error in factoid: $error"; } + $action = substr $action, 0, 400; + %SIG = %signals; alarm 1; }