thelounge/lib/plugins/inputs/join.js
2014-07-04 00:49:15 +02:00

9 lines
173 B
JavaScript

module.exports = function(network, chan, cmd, args) {
if (cmd != "join") {
return;
}
if (args.length !== 0) {
var irc = network.irc;
irc.join(args);
}
};