mod_compat_roles: Fix attempt to index a nil value #1847
permissions[] is not a map with role names as keys since 817bc9873fc2
but instead a level with host names were added. This was likely an
oversight.
Refactored towards railroad.
---
labels:
- 'Stage-Alpha'
summary: Implements BOSH pre-bind
...
For why this can be useful, see
https://metajack.im/2009/12/14/fastest-xmpp-sessions-with-http-prebinding/
# To enable this module
Add `"http_prebind"` to `modules_enabled` on an anonymous virtual host.
This only works on anonymous ones for now.