def on_raw_chghost(self, message):
        if 'chghost' not in self._capabilities or not self._capabilities['chghost']:
            return

        nick, _ = self._parse_user(message.source)
        if nick not in self.users:
            return

        # Update user and host.
        metadata = {
            'username': message.params[0],
            'hostname': message.params[1]
        }
        self._sync_user(nick, metadata)
Create a view with some privileges
dataset/ETHPy150Open Shizmob/pydle/pydle/features/ircv3/ircv3_2.py/IRCv3_2Support.on_raw_chghost--crossover with--dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_privs.py/PrivilegeToSqlTestCase.test_create_view