Skip to content

Commit

Permalink
using options object for consistency
Browse files Browse the repository at this point in the history
using options object for consistency, thanks jimeh for the suggestion.
  • Loading branch information
FabianFrank committed Apr 24, 2012
1 parent 2529236 commit 61d8985
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/irc.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ class IrcBot extends Adapter
unflood: process.env.HUBOT_IRC_UNFLOOD?
debug: process.env.HUBOT_IRC_DEBUG?
usessl: process.env.HUBOT_IRC_USESSL?
userName: process.env.HUBOT_IRC_USERNAME?

client_options =
userName: process.env.HUBOT_IRC_USERNAME
userName: options.userName,
password: options.password,
debug: options.debug,
port: options.port,
Expand Down

0 comments on commit 61d8985

Please sign in to comment.