Browse Source

match eval to eval and exec to exec -_-

master
jcao219 13 years ago
parent
commit
59ce76de26
  1. 2
      modules/wolfgame.py

2
modules/wolfgame.py

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

Loading…
Cancel
Save