Skip to content

Commit fbeeda4

Browse files
committed
Merge pull request nandub#50 from johnmichel/master
Adding Real Name as an configurable variable
2 parents 3e45fc1 + 83a7848 commit fbeeda4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/irc.coffee

+2
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ class IrcBot extends Adapter
8585

8686
options =
8787
nick: process.env.HUBOT_IRC_NICK or @robot.name
88+
realName: process.env.HUBOT_IRC_REALNAME
8889
port: process.env.HUBOT_IRC_PORT
8990
rooms: process.env.HUBOT_IRC_ROOMS.split(",")
9091
server: process.env.HUBOT_IRC_SERVER
@@ -100,6 +101,7 @@ class IrcBot extends Adapter
100101

101102
client_options =
102103
userName: options.userName
104+
realName: options.realName
103105
password: options.password
104106
debug: options.debug
105107
port: options.port

0 commit comments

Comments
 (0)