From 27867763eb767a879fa16b583499d0e9e15edb8d Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sat, 10 Dec 2011 19:05:39 -0500 Subject: [PATCH] Disabling auto-linker. --- earwigbot/commands/link.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/earwigbot/commands/link.py b/earwigbot/commands/link.py index 3ed9acf..ba6ea5a 100644 --- a/earwigbot/commands/link.py +++ b/earwigbot/commands/link.py @@ -30,9 +30,10 @@ class Command(BaseCommand): name = "link" def check(self, data): - if ((data.is_command and data.command == "link") or - (("[[" in data.msg and "]]" in data.msg) or - ("{{" in data.msg and "}}" in data.msg))): + # if ((data.is_command and data.command == "link") or + # (("[[" in data.msg and "]]" in data.msg) or + # ("{{" in data.msg and "}}" in data.msg))): + if data.is_command and data.command == "link": return True return False