Commits

wifiman committed 334bf5b

Added log config option for incoming messages.

  • Participants
  • Parent commits d9bdc7b

Comments (0)

Files changed (1)

 	readBuf = lines.pop();
 
 	for (var i = 0; i < lines.length; ++i) {
+		if (config.log)
+			config.log(false, lines[i]);
+
 		if (!joined && lines[i].match(config.joinRegex)) {
 			var chanList = [];
 			for (var channel in config.channels)