hardlounge/lib/plugins/inputs/connect.js
2014-07-06 17:22:43 +02:00

12 lines
217 B
JavaScript

module.exports = function(network, chan, cmd, args) {
if (cmd != "connect" && cmd != "server") {
return;
}
if (args.length !== 0) {
var client = this;
client.connect({
host: args[0]
});
}
};