summaryrefslogtreecommitdiffstats
path: root/bot.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot.py')
-rwxr-xr-xbot.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bot.py b/bot.py
index 3886a87..453dbc4 100755
--- a/bot.py
+++ b/bot.py
@@ -55,6 +55,8 @@ class Phenny(irc.Bot):
for filename in filenames:
name = os.path.basename(filename)[:-3]
if name in excluded_modules: continue
+ # if name in sys.modules:
+ # del sys.modules[name]
try: module = imp.load_source(name, filename)
except Exception, e:
print >> sys.stderr, "Error loading %s: %s (in bot.py)" % (name, e)