match eval to eval and exec to exec -_-

This commit is contained in:
Jimmy Cao 2012-07-14 21:40:53 -05:00
parent 479e0656bc
commit a4c16e6c20

View File

@ -2665,7 +2665,7 @@ before_debug_mode_pmcommands = list(PM_COMMANDS.keys())
if botconfig.DEBUG_MODE or botconfig.ALLOWED_NORMAL_MODE_COMMANDS:
@cmd("eval", owner_only = True)
@pmcmd("exec", owner_only = True)
@pmcmd("eval", owner_only = True)
def pyeval(cli, nick, chan, rest):
try:
a = str(eval(rest))