on second thought, should probably only show people their nickname's permissions when they're identified.
This commit is contained in:
parent
5286157326
commit
2fb299e9b7
1 changed files with 1 additions and 1 deletions
|
@ -94,5 +94,5 @@ class Module(object):
|
||||||
return "You do not have permission to do that"
|
return "You do not have permission to do that"
|
||||||
|
|
||||||
def my_permissions(self, event):
|
def my_permissions(self, event):
|
||||||
permissions = event["user"].get_setting("permissions", [])
|
permissions = event["user"].permissions
|
||||||
event["stdout"].write("Your permissions: %s" % ", ".join(permissions))
|
event["stdout"].write("Your permissions: %s" % ", ".join(permissions))
|
||||||
|
|
Loading…
Reference in a new issue