Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #99 from markpasc/irc-nick-default

Use the bot's address name for the IRC nick if one isn't specified
  • Loading branch information...
commit 1966e3948ace606efb297508c93175713fb43089 2 parents 4dbb6b9 + 062b671
@atmos atmos authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/hubot/irc.coffee
View
2  src/hubot/irc.coffee
@@ -30,7 +30,7 @@ class IrcBot extends Robot
self = @
options =
- nick: process.env.HUBOT_IRC_NICK
+ nick: process.env.HUBOT_IRC_NICK or @name
port: process.env.HUBOT_IRC_PORT
rooms: process.env.HUBOT_IRC_ROOMS.split(",")
server: process.env.HUBOT_IRC_SERVER
Please sign in to comment.
Something went wrong with that request. Please try again.