summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_misc.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-01-23 18:52:14 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-01-23 18:52:14 +0300
commit35c6f6ccbb11f24a1385c5296a0f2b32c0b90dc9 (patch)
tree3e40f085a7114254966ddadafd1b92388c85b54e /protocols/JabberG/src/jabber_misc.cpp
parentac6a2d3c5a668324d4115305a621a81e4b5d99fb (diff)
no need to implement the same code in each plugin
Diffstat (limited to 'protocols/JabberG/src/jabber_misc.cpp')
-rw-r--r--protocols/JabberG/src/jabber_misc.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/protocols/JabberG/src/jabber_misc.cpp b/protocols/JabberG/src/jabber_misc.cpp
index ee64e3c348..4950875dd3 100644
--- a/protocols/JabberG/src/jabber_misc.cpp
+++ b/protocols/JabberG/src/jabber_misc.cpp
@@ -240,21 +240,6 @@ void CJabberProto::SetServerStatus(int iNewStatus)
ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)oldStatus, m_iStatus);
}
-// Process a string, and double all % characters, according to chat.dll's restrictions
-// Returns a pointer to the new string (old one is not freed)
-
-wchar_t* UnEscapeChatTags(wchar_t* str_in)
-{
- wchar_t *s = str_in, *d = str_in;
- while (*s) {
- if (*s == '%' && s[1] == '%')
- s++;
- *d++ = *s++;
- }
- *d = 0;
- return str_in;
-}
-
//////////////////////////////////////////////////////////////////////////
// update MirVer with data for active resource