diff --git a/plugins/MoobotFactoids.py b/plugins/MoobotFactoids.py index 96f195da1..b9b2c34dc 100644 --- a/plugins/MoobotFactoids.py +++ b/plugins/MoobotFactoids.py @@ -164,12 +164,10 @@ class MoobotFactoids(callbacks.PrivmsgCommandAndRegexp): # definition of what the key is (i.e., "foo is bar") newfact = pickOptions(fact) if newfact.startswith(""): - newfact = newfact.replace("", "", 1) - newfact = newfact.strip() + newfact = newfact[7:].strip() type = "reply" elif newfact.startswith(""): - newfact = newfact.replace("", "", 1) - newfact = newfact.strip() + newfact = newfact[8:].strip() type = "action" newfact = plugins.standardSubstitute(irc, msg, newfact) return (type, newfact)