Skip to content

Commit

Permalink
fix for empty ignoreUsers array
Browse files Browse the repository at this point in the history
  • Loading branch information
audaxion committed Feb 8, 2014
1 parent 57b9bb8 commit 6547a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/irc.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class IrcBot extends Adapter
realName: process.env.HUBOT_IRC_REALNAME
port: process.env.HUBOT_IRC_PORT
rooms: process.env.HUBOT_IRC_ROOMS.split(",")
ignoreUsers: process.env.HUBOT_IRC_IGNORE_USERS?.split(",")
ignoreUsers: process.env.HUBOT_IRC_IGNORE_USERS?.split(",") or []
server: process.env.HUBOT_IRC_SERVER
password: process.env.HUBOT_IRC_PASSWORD
nickpass: process.env.HUBOT_IRC_NICKSERV_PASSWORD
Expand Down

0 comments on commit 6547a19

Please sign in to comment.