Skip to content

Commit

Permalink
Merge pull request nandub#121 from nandub/fixNotice
Browse files Browse the repository at this point in the history
Fix notice without from user
  • Loading branch information
jgable committed May 22, 2014
2 parents 769e4a4 + 72d6b5a commit 6fb02ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/irc.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ class IrcBot extends Adapter
self.createUser channel, nick

bot.addListener 'notice', (from, to, message) ->
return unless from

if from in options.ignoreUsers
logger.info('Ignoring user: %s', from)
# we'll ignore this message if it's from someone we want to ignore
Expand Down

0 comments on commit 6fb02ee

Please sign in to comment.