The master password upload logic was reverted, fix that.

This commit is contained in:
Mark de Wever 2007-11-17 15:28:48 +00:00
parent 3aee428e43
commit de0a7a2703

View file

@ -347,8 +347,8 @@ namespace {
// the user password failed, now test for the master password, in master password
// mode the upload behaves different since it's only intended to update translations.
// In a later version the translations will be separated from the addon.
if(campaigns()["master_password"] == ""
&& campaigns()["master_password"] != (*upload)["passphrase"]) {
if(campaigns()["master_password"] != ""
&& campaigns()["master_password"] == (*upload)["passphrase"]) {
std::string message = "Add-on accepted.";