diff options
author | NEMESIS13cz <seke94@seznam.cz> | 2015-08-12 20:34:20 +0200 |
---|---|---|
committer | NEMESIS13cz <seke94@seznam.cz> | 2015-08-12 20:34:20 +0200 |
commit | 66ab0c1468b91603efefe8128d0d600851c42895 (patch) | |
tree | 9a8bc235ab071075b6c3ec71f62c3e30387c8704 /misc.py | |
parent | 11cbd0848068e5b0081d29f80ed9486a4eb8766d (diff) |
Fixed order of operations
Diffstat (limited to 'misc.py')
-rw-r--r-- | misc.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -206,7 +206,7 @@ pythoners = [ description = "Runs python [code..] and returns the result", helpNoargs = True) def on_pyeval_command(sender, command, label, args): - if uid(sender) not in pythoners and is_player(sender): + if is_player(sender) and uid(sender) not in pythoners: return noperm(sender) msg(sender, " ".join(args), False, "e") thread.start_new_thread(eval_thread, (sender, " ".join(args))) |