@imm_action('combat log')
def combat_log(source, **_):
    try:
        delattr(source.env, 'combat_log')
        return "Combat logging removed from {}".format(source.env.name)
    except __HOLE__:
        source.env.combat_log = True
        return "Combat logging added to {}.".format(source.env.name)
dataset/ETHPy150Open genzgd/Lampost-Mud/lampost/mud/immortal.py/combat_log