diff --git a/plugins/gtkgui/gtkgui.py b/plugins/gtkgui/gtkgui.py index 8cb5affa0..fbd45a3b0 100644 --- a/plugins/gtkgui/gtkgui.py +++ b/plugins/gtkgui/gtkgui.py @@ -664,13 +664,27 @@ class tabbed_chat_window: text = word[1:-1] else: #it's an url - if word.startswith('http://'): + if word.startswith('ftp://'): + if len(word) > 6: + text = word[6:] + tag += '_url' + else: + text = word + tag = None + elif word.startswith('http://') or word.startswith('news://'): if len(word) > 7: text = word[7:] tag += '_url' else: text = word tag = None + elif word.startswith('https://'): + if len(word) > 8: + text = word[8:] + tag += '_url' + else: + text = word + tag = None else: tag += '_url' text = word