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

8 lines
184 B
JavaScript

module.exports = function(network, chan, cmd, args) {
if (cmd != "notice" || !args[1]) {
return;
}
var irc = network.irc;
irc.notice(args[0], args.slice(1).join(" "));
};