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