hardlounge/src/plugins/inputs/raw.js

10 lines
218 B
JavaScript
Raw Normal View History

2014-07-02 22:00:11 +00:00
module.exports = function(network, chan, cmd, args) {
2014-08-25 10:35:19 +00:00
if (cmd != "raw" && cmd != "send" && cmd != "quote") {
return;
}
if (args.length !== 0) {
var irc = network.irc;
irc.write(args.join(" "));
}
2014-06-26 23:05:47 +00:00
};