def _cbLogin(self, (iface, avatar, logout)):
        assert iface is iwords.IUser, "Realm is buggy, got %r" % (iface,)

        # Let them send messages to the world
        del self.irc_PRIVMSG

        self.avatar = avatar
        self.logout = logout
        for code, text in self._welcomeMessages:
            self.sendMessage(code, text % self.factory._serverInfo)
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/words/service.py/IRCUser._cbLogin/original