Shuo/lib/plugins/inputs/raw.js

10 lines
200 B
JavaScript

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