diff options
author | Richard Darst <rkd@zgib.net> | 2009-06-27 22:38:03 (GMT) |
---|---|---|
committer | Richard Darst <rkd@zgib.net> | 2009-06-27 22:38:03 (GMT) |
commit | 66daf4b78879fa9e49c7035cdc4568210423bf7d (patch) | |
tree | b890873da3f5293a431783bc28aa4fdcce008528 /plugin.py | |
parent | 0a49a92f37b93ecb91457dd0bfeb782e8d5633fe (diff) |
change reload order to support supybotconfig.py
- we are overriding variable names. If we load a module twice in a row,
it gets overridden twice which turns out to be bad.
darcs-hash:20090627223803-82ea9-90cc0609f8137618256bdb8a83e8f46eb5d4fae3.gz
Diffstat (limited to 'plugin.py')
-rw-r--r-- | plugin.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -37,8 +37,9 @@ import supybot.ircmsgs as ircmsgs import time import meeting -meeting = reload(meeting) import supybotconfig +# Because of the way we override names, we need to reload these in order. +meeting = reload(meeting) supybotconfig = reload(supybotconfig) # By doing this, we can not lose all of our meetings across plugin |