This patch adds an OnJoining module hook that allows a module to allow or disallow joining any given channel.