mirror of
https://github.com/jwinterm/node-tip-bot.git
synced 2026-10-17 05:41:42 +02:00
less spam in console hopefully
This commit is contained in:
+1
-1
@@ -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--) {
|
||||
|
||||
Reference in New Issue
Block a user