aboutsummaryrefslogtreecommitdiff
path: root/modules/stats.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/stats.py')
-rw-r--r--modules/stats.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/stats.py b/modules/stats.py
index 1a1fcdae..5b497d39 100644
--- a/modules/stats.py
+++ b/modules/stats.py
@@ -31,6 +31,8 @@ class Module(ModuleManager.BaseModule):
"""
:help: Show my network/channel/user stats
"""
+ yield utils.Check("channel-mode", "o")|utils.Check("permission", "asd")
+
networks, channels, users = self._stats()
response = "I currently have %d network" % networks