Attempt to patch a possible message injection hole.

This commit is contained in:
Sean B. Palmer
2011-09-05 17:46:17 +01:00
parent 66edd83372
commit 2d3009ccb1
9 changed files with 101 additions and 28 deletions

View File

@@ -19,6 +19,8 @@ def f_reload(phenny, input):
return phenny.reply('What?')
if (not name) or (name == '*'):
phenny.variables = None
phenny.commands = None
phenny.setup()
return phenny.reply('done')