File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,8 @@ class IrcBot extends Adapter
202
202
# this is a private message, let the 'pm' listener handle it
203
203
return
204
204
205
- if from in ignoreUsers
205
+ if from in options .ignoreUsers
206
+ console .log (' Ignoring user: %s' , from )
206
207
# we'll ignore this message if it's from someone we want to ignore
207
208
return
208
209
@@ -221,7 +222,8 @@ class IrcBot extends Adapter
221
222
bot .addListener ' action' , (from , to , message ) ->
222
223
console .log " * From #{ from } to #{ to} : #{ message} "
223
224
224
- if from in ignoreUsers
225
+ if from in options .ignoreUsers
226
+ console .log (' Ignoring user: %s' , from )
225
227
# we'll ignore this message if it's from someone we want to ignore
226
228
return
227
229
@@ -242,7 +244,8 @@ class IrcBot extends Adapter
242
244
if process .env .HUBOT_IRC_PRIVATE
243
245
return
244
246
245
- if nick in ignoreUsers
247
+ if nick in options .ignoreUsers
248
+ console .log (' Ignoring user: %s' , nick)
246
249
# we'll ignore this message if it's from someone we want to ignore
247
250
return
248
251
You can’t perform that action at this time.
0 commit comments