Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bot: use
optionxform()
-ed setting names for existence check
This makes the existence check case insensitive, which matches the parsing behavior of `RawConfigParser`. The `ip` plugin has a `GeoIP_db_path` setting that will erroneously warn users who set it using `sopel-plugins configure`, because the parser writes out its normalized names (in this case, `geoip_db_path`) and then the previous check using `hasattr()` wouldn't find the normalized name.
- Loading branch information