oops. continue to learn messages in MegaHAL that we don't reply to

This commit is contained in:
Brian S. Stephan 2011-01-07 23:12:06 -06:00
parent 359ca24856
commit d4062cbe99
1 changed files with 2 additions and 0 deletions

View File

@ -66,6 +66,8 @@ class MegaHAL(Module):
reply = mh_python.doreply(line)
elif re.search('^!megahal$', line, re.IGNORECASE) is not None:
reply = mh_python.doreply('')
else:
mh_python.learn(line)
if reply is not "":
if append_nick: