mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-26 04:32:51 +01:00
stats: treat stats characters case-insensitively
This commit is contained in:
parent
7d26ce4ab5
commit
8558a4e56d
@ -77,7 +77,7 @@ def handle_stats(irc, source, command, args):
|
|||||||
u - shows uptime
|
u - shows uptime
|
||||||
"""
|
"""
|
||||||
|
|
||||||
stats_type = args['stats_type'][0] # stats_type shouldn't be more than 1 char anyways
|
stats_type = args['stats_type'][0].lower() # stats_type shouldn't be more than 1 char anyways
|
||||||
|
|
||||||
perms = ['stats.%s' % stats_type]
|
perms = ['stats.%s' % stats_type]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user