ignore logger and measure functions when showing stats
This commit is contained in:
@@ -48,7 +48,7 @@ def stats(phenny, input):
|
||||
users = {}
|
||||
channels = {}
|
||||
|
||||
ignore = set(['f_note', 'startup', 'message', 'noteuri'])
|
||||
ignore = set(['f_note', 'startup', 'message', 'noteuri', 'logger', 'snarfuri', 'measure'])
|
||||
for (name, user), count in list(phenny.stats.items()):
|
||||
if name in ignore: continue
|
||||
if not user: continue
|
||||
|
||||
Reference in New Issue
Block a user