Attempt to patch a possible message injection hole.
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user