irc.py
def handle_registered(self, server):
        """\
        When the connection to the server is registered, send all pending
        data.
        """
        if not self._registered:
            self.logger.info('Registered')
            self._registered = True
            for data in self._out_buffer:
                self.send(data)
            self._out_buffer = []
def handle_registered(self, server):
        if not self._registered:
            self.logger.info('Registered')
            self._registered = True
            for data in self._out_buffer:
                self.send(data)
            self._out_buffer = []
def handle_registered ( self , server ) : if not self . _registered : self . logger . info ( 'Registered' ) self . _registered = True for data in self . _out_buffer : self . send ( data ) self . _out_buffer = [ ]
\
        When the connection to the server is registered, send all pending
        data.
\ When the connection to the server is registered send all pending data .