diff options
author | Richard Darst <rkd@zgib.net> | 2009-07-31 18:02:53 (GMT) |
---|---|---|
committer | Richard Darst <rkd@zgib.net> | 2009-07-31 18:02:53 (GMT) |
commit | a232afc9558bf84502f3c5bfdd067bd301c5644e (patch) | |
tree | c5db8e179bd8f4cfaa5fb0978736cb74e6ba90ea /plugin.py | |
parent | 69fe50a7fe72d4fe64c20a81b41c648b47de3e5f (diff) |
Improve semantics of setting the supybot config proxy
- This no longer mucks with global variables as badly as before...
darcs-hash:20090731180253-82ea9-c7a6c0a923353a81e3b8be45e366eb8fe1b3d8ee.gz
Diffstat (limited to 'plugin.py')
-rw-r--r-- | plugin.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -42,6 +42,10 @@ import supybotconfig meeting = reload(meeting) supybotconfig = reload(supybotconfig) +if supybotconfig.is_supybotconfig_enabled(meeting.Config): + supybotconfig.setup_config(meeting.Config) + meeting.Config = supybotconfig.get_config_proxy(meeting.Config) + # By doing this, we can not lose all of our meetings across plugin # reloads. But, of course, you can't change the source too # drastically if you do that! |