github/hubot-scripts — pull request #1161 by pascaldevink (2013-10-02 09:59:39+00:00)
Title: Changed the way the envelope.user is build so it won't clash with hubot-irc

Hubot-irc checks if the envelope.user var exists, and if so, it takes the room from it. Obviously, that var doesn't exist, so it can not post the message to any rooms.
This fix should only create an envelope.user if the roomtype is given, which is not used by hubot-irc, so that should be safe.

This fixes the following error, upon a callback from jenkins, which prevents it from posting to a room:
```
ERROR: err_nosuchnick: hubot [object No such nick/channel
```