def delete_channel(self, channel, pwd_hash):
        """
        adds a channel, but must have authenication
        """
        if channel.pwd_hash == pwd_hash:
            self.channels.remove(channel)
            lg.record_process('comms.py', 'Removed channel ' + channel.name)

            return True
        else:
            lg.record_process('comms.py', 'ERROR - Cant delete : wrong hash for  ' + channel.name)
            return False
adds a channel, but must have authenication