mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +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
|
continue
|
||||||
nicks.append(s)
|
nicks.append(s)
|
||||||
L = [[nick, self.seen(channel, nick)] for nick in nicks]
|
L = [[nick, self.seen(channel, nick)] for nick in nicks]
|
||||||
|
def negativeTime(x):
|
||||||
|
return -x[1][0]
|
||||||
|
utils.sortBy(negativeTime, L)
|
||||||
return L
|
return L
|
||||||
|
|
||||||
def seen(self, channel, nickOrId):
|
def seen(self, channel, nickOrId):
|
||||||
|
Loading…
Reference in New Issue
Block a user