I'm the best at space

This commit is contained in:
skizzerz 2016-07-27 11:45:45 -05:00
parent b5ae34804d
commit 862111be9e

View File

@ -7854,7 +7854,7 @@ def parse_warning_target(target):
def add_warning(target, amount, actor, reason, notes=None, expires=None, need_ack=False, sanctions=None):
# make 0-point warnings no-op successfully, otherwise we add warnings when things like PART_PENALTY is 0
if amount == 0:
return True
return False
tacc, thm = parse_warning_target(target)
if tacc is None and thm is None: