summaryrefslogtreecommitdiffstats
path: root/modules/admin.py
diff options
context:
space:
mode:
authorSean B. Palmer <sbp@aldebaran.local>2012-07-21 13:04:31 +0100
committerSean B. Palmer <sbp@aldebaran.local>2012-07-21 13:04:31 +0100
commit9505eae02ec38624c0e2a58247f59b65f87ddb3d (patch)
treea392daa064c08a66c5d18066f8d03092794acb34 /modules/admin.py
parentbac52dfb11ff9709eac08e1dc7231dc8055b8f63 (diff)
downloadbot-9505eae02ec38624c0e2a58247f59b65f87ddb3d.tar.gz
bot-9505eae02ec38624c0e2a58247f59b65f87ddb3d.tar.bz2
bot-9505eae02ec38624c0e2a58247f59b65f87ddb3d.zip
Twitter module, gc augmentation, and various small fixes
Diffstat (limited to 'modules/admin.py')
-rwxr-xr-xmodules/admin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/admin.py b/modules/admin.py
index 249f117..b42822a 100755
--- a/modules/admin.py
+++ b/modules/admin.py
@@ -55,8 +55,8 @@ def me(phenny, input):
if input.sender.startswith('#'): return
if input.admin:
msg = '\x01ACTION %s\x01' % input.group(3)
- phenny.msg(input.group(2), msg)
-me.rule = (['me'], r'(#?\S+) (.*)')
+ phenny.msg(input.group(2) or input.sender, msg)
+me.rule = (['me'], r'(#?\S+) (.+)')
me.priority = 'low'
if __name__ == '__main__':