summaryrefslogtreecommitdiff
path: root/plugins/simple_notify.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-05-05 18:26:54 +0200
committermathieui <mathieui@mathieui.net>2012-05-05 18:26:54 +0200
commit55edb64438fc122ecc98f40d19a10da67fb2e049 (patch)
tree5d44c7aaf988104231ef8188c9d559a77b638dc1 /plugins/simple_notify.py
parent5670304b173b9c3ab65e316795c1ce4e9fca1d26 (diff)
downloadpoezio-55edb64438fc122ecc98f40d19a10da67fb2e049.tar.gz
poezio-55edb64438fc122ecc98f40d19a10da67fb2e049.tar.bz2
poezio-55edb64438fc122ecc98f40d19a10da67fb2e049.tar.xz
poezio-55edb64438fc122ecc98f40d19a10da67fb2e049.zip
Remove useless stuff from the simple_notify plugin
Diffstat (limited to 'plugins/simple_notify.py')
-rw-r--r--plugins/simple_notify.py11
1 files changed, 1 insertions, 10 deletions
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):