'Visit a Call node.'

@utils.check_messages('bad-config-call')
def visit_call(self, node):

    if hasattr(node, 'func'):
        infer = utils.safe_infer(node.func)
        if (infer and (infer.root().name == 'qutebrowser.config.config')):
            if (getattr(node.func, 'attrname', None) in ['get', 'set']):
                self._check_config(node)
