mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Changed "show users" command to display only root agents, "show users full" to
display root and child agents (mantis #2171).
This commit is contained in:
@@ -254,7 +254,7 @@ namespace OpenSim.Framework.Servers
|
||||
case "show":
|
||||
if (cmdparams.Length > 0)
|
||||
{
|
||||
Show(cmdparams[0]);
|
||||
Show(cmdparams);
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -317,12 +317,12 @@ namespace OpenSim.Framework.Servers
|
||||
/// <summary>
|
||||
/// Outputs to the console information about the region
|
||||
/// </summary>
|
||||
/// <param name="showWhat">
|
||||
/// What information to display (valid arguments are "uptime", "users")
|
||||
/// <param name="showParams">
|
||||
/// What information to display (valid arguments are "uptime", "users", ...)
|
||||
/// </param>
|
||||
public virtual void Show(string showWhat)
|
||||
public virtual void Show(string[] showParams)
|
||||
{
|
||||
switch (showWhat)
|
||||
switch (showParams[0])
|
||||
{
|
||||
case "info":
|
||||
Notice("Version: " + m_version);
|
||||
|
||||
Reference in New Issue
Block a user