tweaks: factor out a common condition
1 file changed