remove MegaHAL's nullifying of reload() since it's obsolete.

note that the new module appears to support unload properly via shutdown()
This commit is contained in:
Brian S. Stephan 2011-01-06 19:58:58 -06:00
parent ea0fd9d509
commit 5913e0b183
1 changed files with 0 additions and 10 deletions

View File

@ -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