hardlounge/src/plugins/inputs/raw.js
2014-09-13 14:29:45 -07:00

10 lines
209 B
JavaScript

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