diff options
| author | 2019-05-04 23:28:51 +0100 | |
|---|---|---|
| committer | 2019-05-04 23:28:51 +0100 | |
| commit | f715e46155241041165f6365fd589d77ca77fe30 (patch) | |
| tree | 1db02c2e954b53c394ea9a2e4f5853287c4114f8 /modules/coins.py | |
| parent | Only handle 324 when we're actually in the channel (diff) | |
| signature | ||
Stop using prevent_highlight. it ruins terminals on OS X
Diffstat (limited to 'modules/coins.py')
| -rw-r--r-- | modules/coins.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/coins.py b/modules/coins.py index f7ae4e30..239050b5 100644 --- a/modules/coins.py +++ b/modules/coins.py @@ -158,8 +158,8 @@ class Module(ModuleManager.BaseModule): :help: Show the top 10 richest users """ top_10 = utils.top_10(self._all_coins(event["server"]), - convert_key=lambda nickname: utils.prevent_highlight( - event["server"].get_user(nickname).nickname), + convert_key=lambda nickname: + event["server"].get_user(nickname).nickname, value_format=lambda value: self._coin_str_human(value)) event["stdout"].write("Richest users: %s" % ", ".join(top_10)) |
