From 65f1748677910f18f485ddb3a750fee1652e11f1 Mon Sep 17 00:00:00 2001 From: Nicolas Coevoet Date: Sun, 9 Mar 2014 14:11:40 +0100 Subject: [PATCH] added removed by information in 'info' --- plugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin.py b/plugin.py index 17ad761..ea2db1a 100644 --- a/plugin.py +++ b/plugin.py @@ -344,6 +344,7 @@ class Ircd (object): s = 'was active %s and ended on [%s]' % (utils.timeElapsed(removed_at-begin_at),floatToGMT(removed_at)) if end_at != begin_at: s = s + ' ,initialy for %s' % utils.timeElapsed(end_at-begin_at) + s = s + ', removed by %s' % removed_by results.append(s) c.execute("""SELECT oper, comment FROM comments WHERE ban_id=? ORDER BY at DESC""",(uid,)) L = c.fetchall()