From 40c02434da6f9655e174a9b51cca7ff0d1fad0fc Mon Sep 17 00:00:00 2001 From: Ian Anderson Date: Mon, 26 Mar 2012 01:02:20 -0500 Subject: [PATCH] Run now emits "connected" event in order to load hubot scripts Signed-off-by: Ian Anderson --- src/irc.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/irc.coffee b/src/irc.coffee index 8a82054..750dc67 100644 --- a/src/irc.coffee +++ b/src/irc.coffee @@ -108,6 +108,8 @@ class IrcBot extends Adapter @bot = bot + self.emit "connected" + exports.use = (robot) -> new IrcBot robot