From aa6ca6a23f5e50d0f6854cc7f75740682c300171 Mon Sep 17 00:00:00 2001 From: Dave Pedu Date: Sun, 24 Feb 2013 01:13:12 -0500 Subject: [PATCH] Fixed display of /me --- plugins/seen.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/seen.py b/plugins/seen.py index 3fdbf9d..bab5c2d 100644 --- a/plugins/seen.py +++ b/plugins/seen.py @@ -42,7 +42,11 @@ 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' % \ + if last_seen[2][0:1]=="\x01": + return '%s was last seen %s ago: *%s %s*' % \ + (inp, reltime, inp, last_seen[2][8:-1]) + else: + return '%s was last seen %s ago saying: %s' % \ (inp, reltime, last_seen[2]) else: return "I've never seen %s" % inp