fat/haunt — pull request #5 by shama (2012-07-26 22:54:39+00:00)
Title: Ignore issues if they are disabled

Some repos have issues disabled (being managed outside of github) but still want to haunt pull requests. This PR will ignore issues if they are disabled.

Here is the error I received on a repo that has issues disabled:
```
/var/www/haunt/lib/repo.js:158
.map(function (issue) { return !issue.pull_request.html_url && iss
^
TypeError: Cannot read property 'html_url' of undefined
at Repo.getIssues (/var/www/haunt/lib/repo.js:158:63)
```
and the contents of `issues`: `[ { message: 'Issues are disabled for this repo' } ]`

Thanks!