diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/ServiceConnectorsOut/MapImage')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/MapImage/MapImageServiceModule.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/MapImage/MapImageServiceModule.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/MapImage/MapImageServiceModule.cs index 1357825..9888c3b 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/MapImage/MapImageServiceModule.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/MapImage/MapImageServiceModule.cs | |||
@@ -68,11 +68,11 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.MapImage | |||
68 | private int m_refreshtime = 0; | 68 | private int m_refreshtime = 0; |
69 | private int m_lastrefresh = 0; | 69 | private int m_lastrefresh = 0; |
70 | private System.Timers.Timer m_refreshTimer; | 70 | private System.Timers.Timer m_refreshTimer; |
71 | 71 | ||
72 | #region ISharedRegionModule | 72 | #region ISharedRegionModule |
73 | 73 | ||
74 | public Type ReplaceableInterface { get { return null; } } | 74 | public Type ReplaceableInterface { get { return null; } } |
75 | public string Name { get { return "MapImageServiceModule"; } } | 75 | public string Name { get { return "MapImageServiceModule"; } } |
76 | public void RegionLoaded(Scene scene) { } | 76 | public void RegionLoaded(Scene scene) { } |
77 | public void Close() { } | 77 | public void Close() { } |
78 | public void PostInitialise() { } | 78 | public void PostInitialise() { } |
@@ -115,12 +115,12 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.MapImage | |||
115 | m_log.WarnFormat("[MAP IMAGE SERVICE MODULE]: Unable to load LocalServiceModule from {0}. MapService module disabled. Please fix the configuration.", service); | 115 | m_log.WarnFormat("[MAP IMAGE SERVICE MODULE]: Unable to load LocalServiceModule from {0}. MapService module disabled. Please fix the configuration.", service); |
116 | return; | 116 | return; |
117 | } | 117 | } |
118 | 118 | ||
119 | // we don't want the timer if the interval is zero, but we still want this module enables | 119 | // we don't want the timer if the interval is zero, but we still want this module enables |
120 | if(refreshminutes > 0) | 120 | if(refreshminutes > 0) |
121 | { | 121 | { |
122 | m_refreshtime = refreshminutes * 60 * 1000; // convert from minutes to ms | 122 | m_refreshtime = refreshminutes * 60 * 1000; // convert from minutes to ms |
123 | 123 | ||
124 | m_refreshTimer = new System.Timers.Timer(); | 124 | m_refreshTimer = new System.Timers.Timer(); |
125 | m_refreshTimer.Enabled = true; | 125 | m_refreshTimer.Enabled = true; |
126 | m_refreshTimer.AutoReset = true; | 126 | m_refreshTimer.AutoReset = true; |
@@ -131,7 +131,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.MapImage | |||
131 | m_log.InfoFormat("[MAP IMAGE SERVICE MODULE]: enabled with refresh time {0} min and service object {1}", | 131 | m_log.InfoFormat("[MAP IMAGE SERVICE MODULE]: enabled with refresh time {0} min and service object {1}", |
132 | refreshminutes, service); | 132 | refreshminutes, service); |
133 | } | 133 | } |
134 | else | 134 | else |
135 | { | 135 | { |
136 | m_log.InfoFormat("[MAP IMAGE SERVICE MODULE]: enabled with no refresh and service object {0}", service); | 136 | m_log.InfoFormat("[MAP IMAGE SERVICE MODULE]: enabled with no refresh and service object {0}", service); |
137 | } | 137 | } |
@@ -171,7 +171,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.MapImage | |||
171 | } | 171 | } |
172 | 172 | ||
173 | #endregion ISharedRegionModule | 173 | #endregion ISharedRegionModule |
174 | 174 | ||
175 | ///<summary> | 175 | ///<summary> |
176 | /// | 176 | /// |
177 | ///</summary> | 177 | ///</summary> |