less spam in console hopefully

This commit is contained in:
unek
2014-07-28 01:21:22 +02:00
parent af2054e561
commit 873ff9a9de
+1 -1
View File
@@ -427,7 +427,7 @@ client.addListener('message', function(from, channel, message) {
});
});
client.addListener('notice', function(nick, to, text, message) {
if(nick && nick.toLowerCase() == 'nickserv') {
if(nick && nick.toLowerCase() == 'nickserv' && !text.match(/ ACC /)) {
winston.info('%s: %s', nick, text);
if(text.match(/^You are now identified/)) {
for (var i = settings.channels.length - 1; i >= 0; i--) {