mirror of
https://github.com/progval/Limnoria.git
synced 2025-04-25 20:41:18 -05:00
For example, with `supybot.protocols.http.proxy`: When upkeep is being executed, it runs the flushers:246f4d3e62/src/world.py (L148-L150)
In the main limnoria script, it registers a flusher that saves the registry to disk:246f4d3e62/src/scripts/limnoria.py (L243-L252)
When saving the registry to disk, the code instantiates the class with its default value to print it out in the file:246f4d3e62/src/registry.py (L149-L159)
Instantiating the class calls `setValue()` by default:246f4d3e62/src/registry.py (L347-L348)
supybot.protocols.http.proxy uses a custom type that changes global state when `setValue()` is called:246f4d3e62/src/conf.py (L1416-L1432)
Fixed GH-1349.