mirror of
https://github.com/ncoevoet/ChanTracker.git
synced 2025-05-03 17:01:07 -05:00
added removed by information in 'info'
This commit is contained in:
parent
35be78e8b0
commit
65f1748677
@ -344,6 +344,7 @@ class Ircd (object):
|
|||||||
s = 'was active %s and ended on [%s]' % (utils.timeElapsed(removed_at-begin_at),floatToGMT(removed_at))
|
s = 'was active %s and ended on [%s]' % (utils.timeElapsed(removed_at-begin_at),floatToGMT(removed_at))
|
||||||
if end_at != begin_at:
|
if end_at != begin_at:
|
||||||
s = s + ' ,initialy for %s' % utils.timeElapsed(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)
|
results.append(s)
|
||||||
c.execute("""SELECT oper, comment FROM comments WHERE ban_id=? ORDER BY at DESC""",(uid,))
|
c.execute("""SELECT oper, comment FROM comments WHERE ban_id=? ORDER BY at DESC""",(uid,))
|
||||||
L = c.fetchall()
|
L = c.fetchall()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user