From 9231d23bcb87a492f2cbdb8c6342fec72c54beee Mon Sep 17 00:00:00 2001 From: jomo Date: Sun, 27 Jul 2014 19:43:06 +0200 Subject: readability --- helpers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'helpers.py') diff --git a/helpers.py b/helpers.py index 0bd7b18..d1303c2 100644 --- a/helpers.py +++ b/helpers.py @@ -37,7 +37,8 @@ def broadcast(perm, text): """ text = colorify(text) for recipient in list(server.getOnlinePlayers()) + [server.getConsoleSender()]: - (not perm or recipient.hasPermission(perm)) and msg(recipient, text) + if not perm or recipient.hasPermission(perm): + msg(recipient, text) def colorify(text): -- cgit v1.2.3