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:
parent
ea0fd9d509
commit
5913e0b183
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user