3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-30 16:09:27 +01:00
This commit is contained in:
Luke Slater 2011-10-12 16:53:19 +01:00
parent bbee3f4147
commit 0c552f4e28

View File

@ -3,7 +3,7 @@ var js = function(dbot) {
var commands = {
'~js': function(data, params) {
var q = data.message.valMatch(/^~js ([\d\w\s]*)/, 2);
var q = data.message.valMatch(/^~js ([\d\w\s]\+*)/, 2);
dbot.say(data.channel, eval(q[1]));
}
};