File diff r23482:de566f8c088d → r23483:3733e6b8ff17
src/script/api/script_admin.cpp
Show inline comments
 
@@ -135,7 +135,6 @@
 
	std::string json;
 
	ScriptAdmin::MakeJSON(vm, -1, SQUIRREL_MAX_DEPTH, json);
 

	
 
#ifdef ENABLE_NETWORK
 
	if (json.length() > NETWORK_GAMESCRIPT_JSON_LENGTH) {
 
		ScriptLog::Error("You are trying to send a table that is too large to the AdminPort. No data sent.");
 
		sq_pushinteger(vm, 0);
 
@@ -143,7 +142,6 @@
 
	}
 

	
 
	NetworkAdminGameScript(json.c_str());
 
#endif /* ENABLE_NETWORK */
 

	
 
	sq_pushinteger(vm, 1);
 
	return 1;