Table of Contents

Mod-PayPal IClientAPI Patch

PATCH: 0001-Update-EconomyDataRequestHandler-for-IClientAPI.patch
STATUS: Untested
SUBMITTED: Submitted to Snoopy Pfeffer for inclusion in git repo
REPO: https://github.com/SnoopyPfeffer/Mod-PayPal
COPYRIGHT: Copyright © 2013 Allen Kerensky
LICENSE: https://github.com/SnoopyPfeffer/Mod-PayPal/blob/master/LICENSE.txt

Notice

This patch is completely untested.
Use at your own risk!
If it eats your transactions, it is up to you to fix it.

Patch

From 532e6bb8fd0c3d2705fa7cb6c8467763dc95e766 Mon Sep 17 00:00:00 2001
From: Allen Kerensky <allen@allenkerensky.com>
Date: Thu, 16 May 2013 13:09:55 -0500
Subject: [PATCH] Update EconomyDataRequestHandler for IClientAPI

---
 addon-modules/mod-paypal/Modules/PayPalModule.cs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/addon-modules/mod-paypal/Modules/PayPalModule.cs b/addon-modules/mod-paypal/Modules/PayPalModule.cs
index 570c2c9..ad1518e 100644
--- a/addon-modules/mod-paypal/Modules/PayPalModule.cs
+++ b/addon-modules/mod-paypal/Modules/PayPalModule.cs
@@ -784,10 +784,10 @@ namespace PayPal
         /// <summary>
         /// Event called Economy Data Request handler.
         /// </summary>
-        /// <param name="agentId"></param>
-        public void EconomyDataRequestHandler(UUID agentId)
+        /// <param name="user"></param>
+        public void EconomyDataRequestHandler(IClientAPI user) // formerly UUID agentId
         {
-            IClientAPI user = LocateClientObject(agentId);
+            // disabled: IClientAPI user = LocateClientObject(agentId);
 
             if (user != null)
             {
-- 
1.8.1.4