summaryrefslogtreecommitdiff
path: root/protocols/AimOscar
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/AimOscar
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/AimOscar')
-rw-r--r--protocols/AimOscar/src/proto.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/protocols/AimOscar/src/proto.cpp b/protocols/AimOscar/src/proto.cpp
index cd36490c21..10d9a0a594 100644
--- a/protocols/AimOscar/src/proto.cpp
+++ b/protocols/AimOscar/src/proto.cpp
@@ -21,10 +21,7 @@ CAimProto::CAimProto(const char* aProtoName, const TCHAR* aUserName)
: chat_rooms(5)
{
ProtoConstructor(this, aProtoName, aUserName);
- m_szProtoName = mir_strdup(aProtoName);
- _strlwr(m_szProtoName);
- m_szProtoName[0] = (char)toupper(m_szProtoName[0]);
- LOG("Setting protocol/module name to '%s/%s'", m_szProtoName, m_szModuleName);
+ LOG("Setting protocol/module name to '%s'", m_szModuleName);
//create some events
hAvatarEvent = CreateEvent(NULL, TRUE, FALSE, NULL);
@@ -113,7 +110,6 @@ CAimProto::~CAimProto()
mir_free(ADMIN_COOKIE);
mir_free(username);
- mir_free(m_szProtoName);
ProtoDestructor(this);
}