2016-03-14 00:21:42 -04:00
|
|
|
exports.commands = ["connect", "server"];
|
2016-03-06 04:24:56 -05:00
|
|
|
|
2016-03-14 00:21:42 -04:00
|
|
|
exports.input = function(network, chan, cmd, args) {
|
2014-09-13 17:29:45 -04:00
|
|
|
if (args.length !== 0) {
|
|
|
|
var client = this;
|
|
|
|
client.connect({
|
|
|
|
host: args[0]
|
|
|
|
});
|
|
|
|
}
|
2016-03-06 04:24:56 -05:00
|
|
|
|
|
|
|
return true;
|
2014-09-13 17:29:45 -04:00
|
|
|
};
|