From 50333329856db4e8b646d9fbbfcc6e611dd81f3f Mon Sep 17 00:00:00 2001 From: Luke Rogers Date: Mon, 8 Jul 2013 22:15:00 +1200 Subject: [PATCH] Fixed display of /me --- plugins/seen.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/plugins/seen.py b/plugins/seen.py index 57194ac..3ebd410 100755 --- a/plugins/seen.py +++ b/plugins/seen.py @@ -52,7 +52,10 @@ def seen(inp, nick='', chan='', db=None, input=None): reltime = timesince.timesince(last_seen[1]) if last_seen[0] != inp.lower(): # for glob matching inp = last_seen[0] - return '%s was last seen %s ago saying: %s' % \ - (inp, reltime, last_seen[2]) + if last_seen[2][0:1]=="\x01": + return '{} was last seen {} ago: * {} {}'.format(inp, reltime, inp, + last_seen[2][8:-1]) + else: + return '{} was last seen {} ago saying: {}'.format(inp, reltime, last_seen[2]) else: - return "I've never seen %s talking in this channel." % inp + return "I've never seen {} talking in this channel.".format(inp)