def run(self):
        global done
        while not done:
            msg = raw_input('IRC > ')
            if msg == 'QUIT':
                sock.send('QUIT')
                done = True
            self.say(channel, msg)