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

@@ -122,6 +122,7 @@ def message(phenny, input):
tellee = input.nick
channel = input.sender
if not os: return
if not os.path.exists(phenny.tell_filename):
return