From df73b793befa8969fba27356c0370dec16894fcd Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 13 Dec 2012 17:33:45 +0000 Subject: better way of previous commit git-svn-id: http://svn.miranda-ng.org/main/trunk@2737 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype_proto.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Skype') diff --git a/protocols/Skype/src/skype_proto.cpp b/protocols/Skype/src/skype_proto.cpp index 3f24e26de0..ff74f47a61 100644 --- a/protocols/Skype/src/skype_proto.cpp +++ b/protocols/Skype/src/skype_proto.cpp @@ -373,14 +373,14 @@ void __cdecl CSkypeProto::SignInAsync(void*) bool CSkypeProto::SignIn(bool isReadPassword) { - if (!this->login) + if (!this->login || !::lstrcmp(this->login, L"")) { this->m_iStatus = ID_STATUS_OFFLINE; this->SendBroadcast(ACKTYPE_LOGIN, ACKRESULT_FAILED, NULL, LOGINERR_BADUSERID); ::MessageBox( NULL, TranslateT("You have not entered a Skype name.\nConfigure this in Options->Network->Skype and try again."), - _T("Skype"), + _T(MODULE), MB_OK); } else if (g_skype->GetAccount(::mir_u2a(this->login), this->account)) -- cgit v1.2.3