diff options
author | jomo <github@jomo.tv> | 2014-07-27 19:43:06 +0200 |
---|---|---|
committer | jomo <github@jomo.tv> | 2014-07-27 19:43:06 +0200 |
commit | 9231d23bcb87a492f2cbdb8c6342fec72c54beee (patch) | |
tree | 312b5e083cf7f33f273ede8aee7332083531a8de /helpers.py | |
parent | b1a3a92e49b353dfa42b52b448cdbc3b27bb33f8 (diff) |
readability
Diffstat (limited to 'helpers.py')
-rw-r--r-- | helpers.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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): |