summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-12-13 17:33:45 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-12-13 17:33:45 +0000
commitdf73b793befa8969fba27356c0370dec16894fcd (patch)
treec9230509f51fc6512e204ad5fc9e6b5cad4c92b2
parentdf1635617066c130b99d09ced0121b8bfb7b35b8 (diff)
better way of previous commit
git-svn-id: http://svn.miranda-ng.org/main/trunk@2737 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/Skype/src/skype_proto.cpp4
1 files changed, 2 insertions, 2 deletions
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))