summaryrefslogtreecommitdiffstats
path: root/modules/info.py
diff options
context:
space:
mode:
authorSean B. Palmer <http://inamidst.com/sbp/>2008-03-07 21:33:00 +0000
committerSean B. Palmer <http://inamidst.com/sbp/>2008-03-07 21:33:00 +0000
commit989ea13d0211c171ff04df08f69a79f6621f94ba (patch)
tree6ba691e5919839743f46446f27f208dd41de1cf2 /modules/info.py
parent16ec61f4d657f23d1e2361f86aeece31c74b84c3 (diff)
downloadbot-989ea13d0211c171ff04df08f69a79f6621f94ba.tar.gz
bot-989ea13d0211c171ff04df08f69a79f6621f94ba.tar.bz2
bot-989ea13d0211c171ff04df08f69a79f6621f94ba.zip
Minor fixes, and important .commands fix, to be private only.
Diffstat (limited to 'modules/info.py')
-rwxr-xr-xmodules/info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/info.py b/modules/info.py
index df6ad69..932ac2f 100755
--- a/modules/info.py
+++ b/modules/info.py
@@ -22,7 +22,7 @@ doc.priority = 'low'
def commands(phenny, input):
# This function only works in private message
- if input.startswith('#'): return
+ if input.sender.startswith('#'): return
names = ', '.join(sorted(phenny.doc.iterkeys()))
phenny.say('Commands I recognise: ' + names + '.')
phenny.say(("For help, do '%s: help example?' where example is the " +