diff --git a/modules/MegaHAL.py b/modules/MegaHAL.py index 5b04d75..7dab317 100644 --- a/modules/MegaHAL.py +++ b/modules/MegaHAL.py @@ -65,6 +65,8 @@ class MegaHAL(Module): append_nick = True reply = self.megahal.get_reply(line) + elif re.search('^megahal$', line, re.IGNORECASE) is not None: + reply = self.megahal.get_reply_nolearn('') else: self.megahal.learn(line)