mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-23 18:54:05 +01:00
Automode: limit 'list' permissions on all channels to opers
This commit is contained in:
parent
1eb48c63e5
commit
eaa09d68ce
@ -27,8 +27,6 @@ permissions:
|
||||
# channels.
|
||||
- automode.manage.relay_owned
|
||||
- automode.sync.relay_owned
|
||||
"*!*@*":
|
||||
# Everyone can use /msg Automode list on any channel.
|
||||
- automode.list
|
||||
"$pylinkacc":
|
||||
# Those with an admin login in PyLink can do anything.
|
||||
|
@ -25,8 +25,8 @@ exportdb_timer = None
|
||||
save_delay = conf.conf['bot'].get('save_delay', 300)
|
||||
|
||||
# The default set of Automode permissions.
|
||||
default_permissions = {"$ircop": ['automode.manage.relay_owned', 'automode.sync.relay_owned'],
|
||||
"*!*@*": ['automode.list']}
|
||||
default_permissions = {"$ircop": ['automode.manage.relay_owned', 'automode.sync.relay_owned',
|
||||
'automode.list']}
|
||||
|
||||
def loadDB():
|
||||
"""Loads the Automode database, silently creating a new one if this fails."""
|
||||
|
Loading…
Reference in New Issue
Block a user