mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-25 04:58:34 +00:00
parent
cf8c9ec8c7
commit
ca013eaff3
@ -932,6 +932,10 @@ void addon_manager::publish_addon(const addon_info& addon)
|
||||
} else {
|
||||
preferences::set_password(preferences::campaign_server(), cfg["author"], cfg["passphrase"]);
|
||||
}
|
||||
} else if(cfg["forum_auth"].to_bool()) {
|
||||
// if the uploader's forum password is present in the _server.pbl
|
||||
gui2::show_error_message(_("The passphrase attribute cannot be present when forum_auth is used."));
|
||||
return;
|
||||
}
|
||||
|
||||
if(!::image::exists(cfg["icon"].str())) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user