make a deep copy of the string to feed to mh_python.

we were passing the same string everything else uses for input (by
reference), and it appears mh_python does some uppercasing
This commit is contained in:
Brian S. Stephan 2011-01-06 17:15:57 -06:00
parent 0878c8809d
commit 9c5d78891c
1 changed files with 3 additions and 1 deletions

View File

@ -65,7 +65,9 @@ class MegaHAL(Module):
was said.
"""
line = what
# i think this megahal module is corrupting the object while walking it,
# so give it a stupid copy of the string. stupid stupid stupid.
line = ''.join(what)
reply = ""
append_nick = False