Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/plugin.py
diff options
context:
space:
mode:
authorRichard Darst <rkd@zgib.net>2009-06-27 22:38:03 (GMT)
committer Richard Darst <rkd@zgib.net>2009-06-27 22:38:03 (GMT)
commit66daf4b78879fa9e49c7035cdc4568210423bf7d (patch)
treeb890873da3f5293a431783bc28aa4fdcce008528 /plugin.py
parent0a49a92f37b93ecb91457dd0bfeb782e8d5633fe (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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin.py b/plugin.py
index fa82b0e..7415e22 100644
--- a/plugin.py
+++ b/plugin.py
@@ -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