From c7890e7a493feb504b3c5bf34a484577dd9dbdb1 Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Tue, 23 Oct 2012 18:16:14 -0200 Subject: [PATCH] Fix issue #124 --- src/otclient/protocolgame.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/otclient/protocolgame.cpp b/src/otclient/protocolgame.cpp index 00cb3cf8..0d1aa0de 100644 --- a/src/otclient/protocolgame.cpp +++ b/src/otclient/protocolgame.cpp @@ -28,11 +28,6 @@ void ProtocolGame::login(const std::string& accountName, const std::string& accountPassword, const std::string& host, uint16 port, const std::string& characterName) { - if(accountName.empty() || accountPassword.empty()) { - callLuaField("onError", "You must enter an account name and password."); - return; - } - m_accountName = accountName; m_accountPassword = accountPassword; m_characterName = characterName;