diff --git a/Encyclopedia/plugin.py b/Encyclopedia/plugin.py index a1b3552..ad893e3 100644 --- a/Encyclopedia/plugin.py +++ b/Encyclopedia/plugin.py @@ -224,7 +224,11 @@ class Encyclopedia(callbacks.Plugin): rettext = text[:] hasPipe = False hasRedir = False - + + # Test for factoid creation/edit before continuing. + if re.match(r'[^\s]+\sis\s(?:<(?:reply|alias)>)?\s*.*>', text, re.I) is not None: + return (rettext, target, retmsg) + if text.startswith('tell '): text = ' ' + text