mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
remove some more useless NULL arguments
This commit is contained in:
@@ -147,7 +147,7 @@ namespace OpenSim.Region.CoreModules.Avatars.Commands
|
||||
|
||||
if (user == null)
|
||||
{
|
||||
MainConsole.Instance.Output("No user found with name {0} {1}", null, firstName, lastName);
|
||||
MainConsole.Instance.Output("No user found with name {0} {1}", firstName, lastName);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -161,7 +161,7 @@ namespace OpenSim.Region.CoreModules.Avatars.Commands
|
||||
|
||||
if (!m.Success)
|
||||
{
|
||||
MainConsole.Instance.Output("Invalid destination {0}", null, rawDestination);
|
||||
MainConsole.Instance.Output("Invalid destination {0}", rawDestination);
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -171,7 +171,6 @@ namespace OpenSim.Region.CoreModules.Avatars.Commands
|
||||
|
||||
MainConsole.Instance.Output(
|
||||
"Teleporting {0} to {1},{2},{3} in {4}",
|
||||
null,
|
||||
user.Name,
|
||||
m.Groups["x"], m.Groups["y"], m.Groups["z"],
|
||||
regionName);
|
||||
|
||||
Reference in New Issue
Block a user