summaryrefslogtreecommitdiff
path: root/protocols/Tlen/src/jabber_svc.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-02-23 20:01:17 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-02-23 20:01:17 +0000
commit97d992fe41e7eaafba3e5700861b0e098a8f6080 (patch)
tree48c4f577c59a9a52e0875771b00d66d301181de7 /protocols/Tlen/src/jabber_svc.cpp
parentaa387fa04aa096d163932d3f5f9711a2f146c6f0 (diff)
useless variable m_szProtoName removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@3740 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tlen/src/jabber_svc.cpp')
-rw-r--r--protocols/Tlen/src/jabber_svc.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/protocols/Tlen/src/jabber_svc.cpp b/protocols/Tlen/src/jabber_svc.cpp
index b0a284c9e1..a064aeb591 100644
--- a/protocols/Tlen/src/jabber_svc.cpp
+++ b/protocols/Tlen/src/jabber_svc.cpp
@@ -60,7 +60,7 @@ DWORD_PTR __cdecl TlenProtocol::GetCaps(int type, HANDLE hContact)
INT_PTR TlenGetName(void *ptr, LPARAM wParam, LPARAM lParam)
{
TlenProtocol *proto = (TlenProtocol *)ptr;
- strncpy((char *) lParam, proto->m_szProtoName, wParam);
+ strncpy((char*)lParam, proto->m_szModuleName, wParam);
return 0;
}
@@ -1277,10 +1277,6 @@ TlenProtocol::TlenProtocol( const char* aProtoName, const TCHAR* aUserName )
{
ProtoConstructor(this, aProtoName, aUserName);
- m_szProtoName = mir_strdup(aProtoName);
- _strlwr( m_szProtoName );
- m_szProtoName[0] = toupper( m_szProtoName[0] );
-
TlenInitServicesVTbl(this);
InitializeCriticalSection(&modeMsgMutex);