github/hubot — pull request #158 by markstory (2011-11-08 16:15:35+00:00)
Title: Xmpp adapter fix

Fixes issues with the Xmpp adapter. Due to recent refactorings, I was getting the following error:

Error: Cannot find module '[object Object]/undefined'
at Function._resolveFilename (module.js:322:11)
at Function._load (module.js:267:25)
at require (module.js:351:19)
at XmppBot.Robot (/Users/mark/Sites/hubot/src/robot.coffee:31:17)
at new XmppBot (/Users/mark/Sites/hubot/src/adapters/xmpp.coffee:26:37)
at new Robot (/Users/mark/Sites/hubot/src/robot.coffee:32:22)
at Object.loadBot (/Users/mark/Sites/hubot/index.js:4:10)
at Object. (/Users/mark/Sites/hubot/bin/hubot:61:19)
at Object. (/Users/mark/Sites/hubot/bin/hubot:88:4)
at Module._compile (module.js:407:26)

When trying to start hubot with `./bin/hubot -a xmpp -n bot`. These changes fix that error and hubot is able to connect to xmpp again.