Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: perillamint/kaelynBot
base: 927bba180a
...
head fork: perillamint/kaelynBot
compare: ab2a06deec
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Commits on Jan 15, 2013
maneulyori delayed timeout 90ace89
maneulyori Added no output message ab2a06d
Showing with 6 additions and 1 deletion.
  1. +1 −1  modules/eval.js
  2. +5 −0 modules/eval/worker.js
View
2  modules/eval.js
@@ -39,7 +39,7 @@ function init (initArg)
worker.destroy(); //Give it 5 seconds to run, then abort it
client.privmsg(workerTable[worker], "worker timed out");
delete workerTable[worker];
- }, 1000);
+ }, 3000);
});
return { moduleCommand: {command: ["eval"]}, callBack: messageHandler };
View
5 modules/eval/worker.js
@@ -34,6 +34,11 @@ process.on('message', function(msg) {
}
}
+ if(sandbox.out.length == 0)
+ {
+ sandbox.out = "출력 없음.";
+ }
+
var outArr = sandbox.out.split("\n");
process.send(outArr); //Send the finished message to the parent process

No commit comments for this range

Something went wrong with that request. Please try again.