zigdon / xkcd-Bucket

Bucket is the channel bot for #xkcd
http://wiki.xkcd.com/irc/Bucket
121 stars 31 forks source link

Variable permissions changes aren't persisted to DB #115

Closed dgw closed 6 years ago

dgw commented 6 years ago

Changing the permissions of a variable, e.g. Bucket, unprotect $varname, only works until Bucket is restarted, after which Bucket will revert to the permissions in the database. I suspect that runtime permission changes simply aren't saved to the DB, which should be an easy fix. This should be done soon.