aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/BetaGridLikeMoneyModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/BetaGridLikeMoneyModule.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/BetaGridLikeMoneyModule.cs10
1 files changed, 2 insertions, 8 deletions
diff --git a/OpenSim/Region/Environment/Modules/BetaGridLikeMoneyModule.cs b/OpenSim/Region/Environment/Modules/BetaGridLikeMoneyModule.cs
index 81478a1..d51936b 100644
--- a/OpenSim/Region/Environment/Modules/BetaGridLikeMoneyModule.cs
+++ b/OpenSim/Region/Environment/Modules/BetaGridLikeMoneyModule.cs
@@ -41,8 +41,7 @@ namespace OpenSim.Region.Environment.Modules
41{ 41{
42 public class BetaGridLikeMoneyModule: IRegionModule 42 public class BetaGridLikeMoneyModule: IRegionModule
43 { 43 {
44 44 private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
45 private LogBase m_log;
46 45
47 private Dictionary<ulong,Scene> m_scenel = new Dictionary<ulong,Scene>(); 46 private Dictionary<ulong,Scene> m_scenel = new Dictionary<ulong,Scene>();
48 47
@@ -66,8 +65,6 @@ namespace OpenSim.Region.Environment.Modules
66 65
67 public void Initialise(Scene scene, IConfigSource config) 66 public void Initialise(Scene scene, IConfigSource config)
68 { 67 {
69 m_log = MainLog.Instance;
70
71 m_gConfig = config; 68 m_gConfig = config;
72 ReadConfigAndPopulate(); 69 ReadConfigAndPopulate();
73 70
@@ -160,11 +157,8 @@ namespace OpenSim.Region.Environment.Modules
160 } 157 }
161 else 158 else
162 { 159 {
163 MainLog.Instance.Warn("MONEY", "Potential Fraud Warning, got money transfer request for avatar that isn't in this simulator - Details; Sender:" + e.sender.ToString() + " Reciver: " + e.reciever.ToString() + " Amount: " + e.amount.ToString()); 160 m_log.Warn("[MONEY]: Potential Fraud Warning, got money transfer request for avatar that isn't in this simulator - Details; Sender:" + e.sender.ToString() + " Reciver: " + e.reciever.ToString() + " Amount: " + e.amount.ToString());
164 } 161 }
165
166
167
168 } 162 }
169 163
170 private bool doMoneyTranfer(LLUUID Sender, LLUUID Receiver, int amount) 164 private bool doMoneyTranfer(LLUUID Sender, LLUUID Receiver, int amount)