From 0b3553b8fe6b1eb1a983c6c1210d5623a8afa600 Mon Sep 17 00:00:00 2001
From: Nikos Kouremenos <kourem@gmail.com>
Date: Tue, 29 Mar 2005 21:44:54 +0000
Subject: [PATCH] fix in mail detection

---
 plugins/gtkgui/chat.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/plugins/gtkgui/chat.py b/plugins/gtkgui/chat.py
index 8615762f33..9421f79d09 100644
--- a/plugins/gtkgui/chat.py
+++ b/plugins/gtkgui/chat.py
@@ -487,14 +487,12 @@ class Chat:
 				self.plugin.emoticons[emot_ascii])
 		elif special_text.startswith('mailto:'):
 			#it's a mail
-			special_text = special_text[0:-1]
 			tags.append('mail')
 			use_other_tags = False
 		elif self.plugin.sth_at_sth_dot_sth_re.match(special_text):
 			#it's a mail
 			tags.append('mail')
 			use_other_tags = False
-			special_text = special_text[0:-1]
 		elif special_text.startswith('*'): # it's a bold text
 			tags.append('bold')
 			if special_text[1] == '/': # it's also italic
-- 
GitLab