mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 19:52:54 +01:00
Fixed another bug in the new rank command.
This commit is contained in:
parent
8fefeaa11f
commit
67d262a575
@ -306,9 +306,9 @@ class ChannelStats(callbacks.Plugin):
|
|||||||
v = float('inf')
|
v = float('inf')
|
||||||
except NameError, e:
|
except NameError, e:
|
||||||
irc.error('You referenced an invalid stat variable:',
|
irc.error('You referenced an invalid stat variable:',
|
||||||
str(e).split()[1], raise=True)
|
str(e).split()[1], Raise=True)
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
irc.error(utils.exnToString(e), raise=True)
|
irc.error(utils.exnToString(e), Raise=True)
|
||||||
finally:
|
finally:
|
||||||
users.append((v, ircdb.users.getUser(id).name))
|
users.append((v, ircdb.users.getUser(id).name))
|
||||||
users.sort()
|
users.sort()
|
||||||
|
Loading…
Reference in New Issue
Block a user