summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/chat
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/chat')
-rw-r--r--plugins/TabSRMM/src/chat/window.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/chat/window.cpp b/plugins/TabSRMM/src/chat/window.cpp
index 0dc798560b..1f320d304a 100644
--- a/plugins/TabSRMM/src/chat/window.cpp
+++ b/plugins/TabSRMM/src/chat/window.cpp
@@ -204,6 +204,7 @@ bool IsStringValidLink(TCHAR* pszText)
{
if (pszText == NULL)
return false;
+
if (mir_tstrlen(pszText) < 5 || _tcschr(pszText, '"'))
return false;