summaryrefslogtreecommitdiffstats
path: root/modules/tell.py
diff options
context:
space:
mode:
authorSean B. Palmer <sbp@aldebaran.local>2011-09-05 17:46:17 +0100
committerSean B. Palmer <sbp@aldebaran.local>2011-09-05 17:46:17 +0100
commit2d3009ccb123bb34bf0d8b8b516a15c05240bf03 (patch)
tree28029457224da9cd91187e17f8b90cff5cb2de57 /modules/tell.py
parent66edd833726d0a14400df65311999b1496b9f8cb (diff)
downloadbot-2d3009ccb123bb34bf0d8b8b516a15c05240bf03.tar.gz
bot-2d3009ccb123bb34bf0d8b8b516a15c05240bf03.tar.bz2
bot-2d3009ccb123bb34bf0d8b8b516a15c05240bf03.zip
Attempt to patch a possible message injection hole.
Diffstat (limited to 'modules/tell.py')
-rwxr-xr-xmodules/tell.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/tell.py b/modules/tell.py
index 5e61007..d3ee609 100755
--- a/modules/tell.py
+++ b/modules/tell.py
@@ -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