mirror of
https://github.com/thelounge/thelounge
synced 2024-12-24 03:13:08 +00:00
11 lines
217 B
JavaScript
11 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]
|
|
});
|
|
}
|
|
};
|