Skip to content

Commit 2529236

Browse files
committed
hubot is identifying itself as user@host to the IRC server. making the user portion configurable as HUBOT_IRC_USERNAME, since certain IRC networks require a valid username instead of the default one, which is nodebot.
1 parent a1ee96d commit 2529236

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/irc.coffee

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class IrcBot extends Adapter
4444
usessl: process.env.HUBOT_IRC_USESSL?
4545

4646
client_options =
47+
userName: process.env.HUBOT_IRC_USERNAME
4748
password: options.password,
4849
debug: options.debug,
4950
port: options.port,

0 commit comments

Comments
 (0)