summaryrefslogtreecommitdiff
path: root/protocols/Tlen/src/jabber_svc.cpp
diff options
context:
space:
mode:
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);