diff options
Diffstat (limited to 'protocols/Dummy/src/dummy_proto.cpp')
-rw-r--r-- | protocols/Dummy/src/dummy_proto.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Dummy/src/dummy_proto.cpp b/protocols/Dummy/src/dummy_proto.cpp index 8ac49017eb..2a9ddb1414 100644 --- a/protocols/Dummy/src/dummy_proto.cpp +++ b/protocols/Dummy/src/dummy_proto.cpp @@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "stdafx.h" -char uniqueIdText[100] = { 0 }; -char uniqueIdSetting[100] = { 0 }; - void CDummyProto::SendMsgAck(void *param) { MCONTACT hContact = (MCONTACT)param; @@ -39,6 +36,9 @@ CDummyProto::CDummyProto(const char *szModuleName, const TCHAR *ptszUserName) : { CreateProtoService(PS_CREATEACCMGRUI, &CDummyProto::SvcCreateAccMgrUI); + uniqueIdText[0] = '\0'; + uniqueIdSetting[0] = '\0'; + dummy_Instances.insert(this); } |