diff options
| author | 2016-05-17 14:51:15 +0100 | |
|---|---|---|
| committer | 2016-05-17 14:51:15 +0100 | |
| commit | 2fb299e9b7e41a6388b4792fa6d9742f0f72f80f (patch) | |
| tree | 8d4fedcaaa1e6f9f5a7c654651559a487cf88047 /modules/permissions.py | |
| parent | added a command to show you what permissions you have. (diff) | |
on second thought, should probably only show people their nickname's permissions when they're identified.
Diffstat (limited to 'modules/permissions.py')
| -rw-r--r-- | modules/permissions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/permissions.py b/modules/permissions.py index 1a23261c..dac33a67 100644 --- a/modules/permissions.py +++ b/modules/permissions.py @@ -94,5 +94,5 @@ class Module(object): return "You do not have permission to do that" def my_permissions(self, event): - permissions = event["user"].get_setting("permissions", []) + permissions = event["user"].permissions event["stdout"].write("Your permissions: %s" % ", ".join(permissions)) |
