From 83a78489a2fc92ec3881c9e294a760b043c6e5b3 Mon Sep 17 00:00:00 2001 From: John Michel Date: Thu, 8 Nov 2012 13:32:22 -0500 Subject: [PATCH] Adding Real Name as an environmental variable Useful for networks where the Real Name of a bot must correspond to a non-bot user --- src/irc.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/irc.coffee b/src/irc.coffee index 9679446..1cd6be3 100644 --- a/src/irc.coffee +++ b/src/irc.coffee @@ -85,6 +85,7 @@ class IrcBot extends Adapter options = nick: process.env.HUBOT_IRC_NICK or @robot.name + realName: process.env.HUBOT_IRC_REALNAME port: process.env.HUBOT_IRC_PORT rooms: process.env.HUBOT_IRC_ROOMS.split(",") server: process.env.HUBOT_IRC_SERVER @@ -100,6 +101,7 @@ class IrcBot extends Adapter client_options = userName: options.userName + realName: options.realName password: options.password debug: options.debug port: options.port