fixes #12272
* Fix permissions bug in IRC Rename Permissions class to remove confusion with the Facade * Fix style