diff --git a/example-permissions.yml b/example-permissions.yml index 5c703b6..c5c179f 100644 --- a/example-permissions.yml +++ b/example-permissions.yml @@ -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. diff --git a/plugins/automode.py b/plugins/automode.py index 46fd864..bf01b9f 100644 --- a/plugins/automode.py +++ b/plugins/automode.py @@ -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."""