do a deep copy of the string being learned from, since mh_python is weird/corrupty

This commit is contained in:
Brian S. Stephan 2011-01-08 00:26:18 -06:00
parent bed3f7ec23
commit 36fcbde267
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ class MegaHAL(Module):
def learn_from_irc_event(self, connection, event):
"""Learn text when an irc event happens."""
what = event.arguments()[0]
what = ''.join(event.arguments()[0])
mh_python.learn(what)
def do(self, connection, event, nick, userhost, what, admin_unlocked):