From 27a13b7fac5492bc53729a074dbed1d0c0243d31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Sat, 26 May 2018 13:19:16 +0300 Subject: [PATCH] Default to 400000 cycles for ircbotRun() --- gir.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gir.js b/gir.js index 31fc1a6..166ca36 100644 --- a/gir.js +++ b/gir.js @@ -918,7 +918,7 @@ function compile(program, enableExtensions = true) { } // (string, string, int) → string -function ircbotRun(program, input, maxCycles = null) { +function ircbotRun(program, input, maxCycles = 400000) { // TODO; Cache programs let compiled = compile(program); let vm = newVM(compiled, encodeUTF8(input));