mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
RFE #1049535 : Wildcard "seen" results are now sorted by time seen (most recent first)
This commit is contained in:
parent
81395a56d6
commit
ac57418802
@ -96,6 +96,9 @@ class SeenDB(plugins.ChannelUserDB):
|
||||
continue
|
||||
nicks.append(s)
|
||||
L = [[nick, self.seen(channel, nick)] for nick in nicks]
|
||||
def negativeTime(x):
|
||||
return -x[1][0]
|
||||
utils.sortBy(negativeTime, L)
|
||||
return L
|
||||
|
||||
def seen(self, channel, nickOrId):
|
||||
|
Loading…
Reference in New Issue
Block a user