code: def quit(self):
          
          
          for c in self.channels:
              c.users.remove(self.nick)
          self.channels = []
docs: Remove this user from all channels and reinitialize the user's list
          of joined channels.