diff options
Diffstat (limited to 'linden/indra/llinventory/lleconomy.cpp')
-rw-r--r-- | linden/indra/llinventory/lleconomy.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linden/indra/llinventory/lleconomy.cpp b/linden/indra/llinventory/lleconomy.cpp index 2337a3e..837acfe 100644 --- a/linden/indra/llinventory/lleconomy.cpp +++ b/linden/indra/llinventory/lleconomy.cpp | |||
@@ -3,6 +3,7 @@ | |||
3 | * | 3 | * |
4 | * Copyright (c) 2002-2007, Linden Research, Inc. | 4 | * Copyright (c) 2002-2007, Linden Research, Inc. |
5 | * | 5 | * |
6 | * Second Life Viewer Source Code | ||
6 | * The source code in this file ("Source Code") is provided by Linden Lab | 7 | * The source code in this file ("Source Code") is provided by Linden Lab |
7 | * to you under the terms of the GNU General Public License, version 2.0 | 8 | * to you under the terms of the GNU General Public License, version 2.0 |
8 | * ("GPL"), unless you have obtained a separate licensing agreement | 9 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -170,6 +171,11 @@ void LLRegionEconomy::processEconomyData(LLMessageSystem *msg, void** user_data) | |||
170 | void LLRegionEconomy::processEconomyDataRequest(LLMessageSystem *msg, void **user_data) | 171 | void LLRegionEconomy::processEconomyDataRequest(LLMessageSystem *msg, void **user_data) |
171 | { | 172 | { |
172 | LLRegionEconomy *this_ptr = (LLRegionEconomy*)user_data; | 173 | LLRegionEconomy *this_ptr = (LLRegionEconomy*)user_data; |
174 | if (!this_ptr->hasData()) | ||
175 | { | ||
176 | llwarns << "Dropping EconomyDataRequest, because EconomyData message " | ||
177 | << "has not been processed" << llendl; | ||
178 | } | ||
173 | 179 | ||
174 | msg->newMessageFast(_PREHASH_EconomyData); | 180 | msg->newMessageFast(_PREHASH_EconomyData); |
175 | msg->nextBlockFast(_PREHASH_Info); | 181 | msg->nextBlockFast(_PREHASH_Info); |