headquarters
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -43,3 +43,6 @@ var request = require('request'); | ||
var name = data[0]; | ||
if (typeof commands[name] !== 'undefined') commands[name](data.shift()); | ||
if (typeof commands[name] !== 'undefined') { | ||
data.shift(); | ||
commands[name](data); | ||
} | ||
else if (rawAction) rawAction(data); | ||
@@ -46,0 +49,0 @@ else console.log(msg.error.noSuchCommand); |
{ | ||
"name": "headquarters", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Issue commands to your program while it is running.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
2621
51