mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-16 12:35:07 +02:00
13 lines
206 B
JavaScript
13 lines
206 B
JavaScript
exports.commands = ["connect", "server"];
|
|
|
|
exports.input = function(network, chan, cmd, args) {
|
|
if (args.length !== 0) {
|
|
var client = this;
|
|
client.connect({
|
|
host: args[0]
|
|
});
|
|
}
|
|
|
|
return true;
|
|
};
|