Fixed issue #79 and some miniwindows bugs

This commit is contained in:
Henrique Santiago
2012-08-21 17:27:44 -03:00
parent ea4dd2f8e6
commit f27f005757
4 changed files with 68 additions and 33 deletions

View File

@@ -7,10 +7,6 @@ LoginServerUpdateNeeded = 30
LoginServerCharacterList = 100
function ProtocolLogin:login(host, port, accountName, accountPassword)
if string.len(accountName) == 0 or string.len(accountPassword) == 0 then
signalcall(self.onError, self, tr("You must enter an account name and password."))
return
end
if string.len(host) == 0 or port == nil or port == 0 then
signalcall(self.onError, self, tr("You must enter a valid server address and port."))
return