Archived
Fixed order of operations
This commit is contained in:
@@ -206,7 +206,7 @@ pythoners = [
|
|||||||
description = "Runs python [code..] and returns the result",
|
description = "Runs python [code..] and returns the result",
|
||||||
helpNoargs = True)
|
helpNoargs = True)
|
||||||
def on_pyeval_command(sender, command, label, args):
|
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)
|
return noperm(sender)
|
||||||
msg(sender, " ".join(args), False, "e")
|
msg(sender, " ".join(args), False, "e")
|
||||||
thread.start_new_thread(eval_thread, (sender, " ".join(args)))
|
thread.start_new_thread(eval_thread, (sender, " ".join(args)))
|
||||||
|
|||||||
Reference in New Issue
Block a user