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.
---
summary: 'Block remote servers via ad-hoc command'
...
Introduction
============
This module provides the *Edit Blacklist* ad-hoc command described in
[XEP-0133](http://xmpp.org/extensions/xep-0133.html#edit-blacklist) and
also performs the actual blocking of incoming and outgoing
server-to-server connections.
Using
=====
In your client, simply select the Edit Blacklist command from the list
of adhoc commands. E.g. in Pidgin, this is under *Accounts -\> (your
account)* in the menu.