diff options
author | Sean B. Palmer <sbp@aldebaran.local> | 2012-07-21 13:04:31 +0100 |
---|---|---|
committer | Sean B. Palmer <sbp@aldebaran.local> | 2012-07-21 13:04:31 +0100 |
commit | 9505eae02ec38624c0e2a58247f59b65f87ddb3d (patch) | |
tree | a392daa064c08a66c5d18066f8d03092794acb34 /modules/admin.py | |
parent | bac52dfb11ff9709eac08e1dc7231dc8055b8f63 (diff) | |
download | bot-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-x | modules/admin.py | 4 |
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__': |