summaryrefslogtreecommitdiff
path: root/protocols/Skype/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Skype/src')
-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))