aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules
diff options
context:
space:
mode:
authorUbitUmarov2016-11-09 10:21:02 +0000
committerUbitUmarov2016-11-09 10:21:02 +0000
commit94d2422230be405f44be3697e663ef4fac8369f8 (patch)
tree7316600d14df13177a8edae2ca1386e3ae92fded /OpenSim/Region/OptionalModules
parent change the clock source on tokenBucket (diff)
downloadopensim-SC_OLD-94d2422230be405f44be3697e663ef4fac8369f8.zip
opensim-SC_OLD-94d2422230be405f44be3697e663ef4fac8369f8.tar.gz
opensim-SC_OLD-94d2422230be405f44be3697e663ef4fac8369f8.tar.bz2
opensim-SC_OLD-94d2422230be405f44be3697e663ef4fac8369f8.tar.xz
change the clock source on udp outgoing, remove some dead code
Diffstat (limited to 'OpenSim/Region/OptionalModules')
-rw-r--r--OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs25
1 files changed, 0 insertions, 25 deletions
diff --git a/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs b/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs
index 08d0fbf..071530b 100644
--- a/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs
+++ b/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs
@@ -126,13 +126,6 @@ namespace OpenSim.Region.OptionalModules.UDP.Linden
126 (mod, cmd) => MainConsole.Instance.Output(GetThrottlesReport(cmd))); 126 (mod, cmd) => MainConsole.Instance.Output(GetThrottlesReport(cmd)));
127 127
128 scene.AddCommand( 128 scene.AddCommand(
129 "Comms", this, "emergency-monitoring",
130 "emergency-monitoring",
131 "Go on/off emergency monitoring mode",
132 "Go on/off emergency monitoring mode",
133 HandleEmergencyMonitoring);
134
135 scene.AddCommand(
136 "Comms", this, "show client stats", 129 "Comms", this, "show client stats",
137 "show client stats [first_name last_name]", 130 "show client stats [first_name last_name]",
138 "Show client request stats", 131 "Show client request stats",
@@ -197,24 +190,6 @@ namespace OpenSim.Region.OptionalModules.UDP.Linden
197 return report.ToString(); 190 return report.ToString();
198 } 191 }
199 192
200 protected void HandleEmergencyMonitoring(string module, string[] cmd)
201 {
202 bool mode = true;
203 if (cmd.Length == 1 || (cmd.Length > 1 && cmd[1] == "on"))
204 {
205 mode = true;
206 MainConsole.Instance.Output("Emergency Monitoring ON");
207 }
208 else
209 {
210 mode = false;
211 MainConsole.Instance.Output("Emergency Monitoring OFF");
212 }
213
214 foreach (Scene s in m_scenes.Values)
215 s.EmergencyMonitoring = mode;
216 }
217
218 protected string GetColumnEntry(string entry, int maxLength, int columnPadding) 193 protected string GetColumnEntry(string entry, int maxLength, int columnPadding)
219 { 194 {
220 return string.Format( 195 return string.Format(