Skip to content

Commit

Permalink
Updating the robots name with the passed in nick so it responds to it…
Browse files Browse the repository at this point in the history
…s name
  • Loading branch information
jgable committed Jul 19, 2012
1 parent bea8006 commit 2b0dbb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/irc.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ class IrcBot extends Adapter

client_options['channels'] = options.rooms unless options.nickpass

@robot.name = options.nick
bot = new Irc.Client options.server, options.nick, client_options

next_id = 1
Expand Down

0 comments on commit 2b0dbb9

Please sign in to comment.