From 5913e0b18331772c2e45fc2cc7d222a99d24bb72 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Thu, 6 Jan 2011 19:58:58 -0600 Subject: [PATCH] remove MegaHAL's nullifying of reload() since it's obsolete. note that the new module appears to support unload properly via shutdown() --- modules/MegaHAL.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/modules/MegaHAL.py b/modules/MegaHAL.py index c0dccff..2e56aa3 100644 --- a/modules/MegaHAL.py +++ b/modules/MegaHAL.py @@ -49,16 +49,6 @@ class MegaHAL(Module): """ mh_python.cleanup() - def reload(self): - """ - Broken. Don't do anything. - - TODO: figure out why this is broken. (probably because nothing closes the old - brain file or deletes the old object, and then all hell breaks loose.) - - Is this still the case with the new MegaHAL library? - """ - def do(self, connection, event, nick, userhost, replypath, what, admin_unlocked): """ Say something on IRC if the bot is being addressed, or at least learn what