Fix chat perm registration
Merge pull request #574 from helinus/patch-2

Fix chat perm registration