From 55edb64438fc122ecc98f40d19a10da67fb2e049 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 5 May 2012 18:26:54 +0200 Subject: Remove useless stuff from the simple_notify plugin --- plugins/simple_notify.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'plugins') diff --git a/plugins/simple_notify.py b/plugins/simple_notify.py index 32861d87..61045130 100644 --- a/plugins/simple_notify.py +++ b/plugins/simple_notify.py @@ -1,14 +1,5 @@ -# A plugin that adds the /link command, letting you open links that are pasted -# in the conversation, without having to click them. - -import os -import re - -from plugin import BasePlugin, PluginConfig +from plugin import BasePlugin from xhtml import clean_text, get_body_from_message_stanza -import common - -url_pattern = re.compile(r'\b(http[s]?://(?:\S+))\b', re.I|re.U) class Plugin(BasePlugin): def init(self): -- cgit v1.2.3