From d407915124b7d55cd7f74c8241960e9246229fae Mon Sep 17 00:00:00 2001 From: Luke Rogers Date: Tue, 1 Oct 2013 23:55:32 +1300 Subject: [PATCH] remove feature for now --- plugins/factoids.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/plugins/factoids.py b/plugins/factoids.py index a6610b2..3bc0410 100755 --- a/plugins/factoids.py +++ b/plugins/factoids.py @@ -107,10 +107,6 @@ def info(inp, notice=None, db=None): @hook.regex(r'^\? ?(.+)') def factoid(inp, message=None, db=None, bot=None, action=None, conn=None, input=None): "? -- Shows what data is associated with ." - try: - prefix_on = bot.config["plugins"]["factoids"].get("prefix", False) - except KeyError: - prefix_on = False db_init(db) @@ -149,7 +145,4 @@ def factoid(inp, message=None, db=None, bot=None, action=None, conn=None, input= except http.HttpError: message("Could not fetch URL.") else: - if prefix_on: - message("\x02[{}]:\x02 {}".format(factoid_id, result)) - else: - message(result) + message(result)