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

9 lines
196 B
JavaScript

module.exports = function(network, chan, cmd, args) {
if (cmd != "whois" && cmd != "query") {
return;
}
if (args.length !== 0) {
var irc = network.irc;
irc.whois(args[0]);
}
};