]> granicus.if.org Git - ejabberd/commit
Accept "add_commands: admin" in commands section not only "add_commands: - admin"
authorPaweł Chmielowski <pchmielowski@process-one.net>
Mon, 6 Feb 2017 20:40:37 +0000 (21:40 +0100)
committerPaweł Chmielowski <pchmielowski@process-one.net>
Mon, 6 Feb 2017 20:40:37 +0000 (21:40 +0100)
commitca0dd099448ecc72932f89e8c4159f8a65b45ebd
treec65da4fe96873be1778417e4bc56707012ee42ee
parentb703b4f022bbf450c8c21a51efc943093c7081db
Accept "add_commands: admin" in commands section not only "add_commands: - admin"

This fixes issue reported in #1518, and restores compatibility with
what older version were accepting and what is documented.
src/ejabberd_commands.erl