mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 09:19:23 +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
|
||||
"""
|
||||
|
||||
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]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user