mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-02 06:33:19 +02:00
10 lines
187 B
JavaScript
10 lines
187 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]);
|
|
}
|
|
};
|