on second thought, should probably only show people their nickname's permissions when they're identified.

This commit is contained in:
jesopo 2016-05-17 14:51:15 +01:00
parent 5286157326
commit 2fb299e9b7
No known key found for this signature in database
GPG key ID: 0BBDEB2AEFCFFCB3

View file

@ -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))