code: def delete_channel(self, channel, pwd_hash):
          
          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
docs: adds a channel, but must have authenication