We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e5accaa + 6b03654 commit b8d7825Copy full SHA for b8d7825
src/irc.coffee
@@ -165,6 +165,10 @@ class IrcBot extends Adapter
165
self.createUser channel, nick
166
167
bot.addListener 'message', (from, to, message) ->
168
+ if options.nick.toLowerCase() == to.toLowerCase()
169
+ # this is a private message, let the 'pm' listener handle it
170
+ return
171
+
172
console.log "From #{from} to #{to}: #{message}"
173
174
user = self.createUser to, from
0 commit comments