cayasso/primus-rooms — pull request #40 by inspiredjw (2014-04-02 00:52:49+00:00)
Title: emitting "leaveallrooms" events on undefined

```TypeError: Cannot call method 'emit' of undefined```

raised on my app.

And I have fixed this by checking the exitence of `rm` and emits only when it exists.