remove some more useless NULL arguments

This commit is contained in:
UbitUmarov
2019-10-22 12:39:50 +01:00
parent b98ad6c53c
commit da0a8d6c43
17 changed files with 45 additions and 52 deletions

View File

@@ -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);