Fix Console Spam with group names

This commit is contained in:
Zidonuke 2011-12-29 16:17:19 -05:00
parent 021728525d
commit 2367598945
2 changed files with 1 additions and 3 deletions

View file

@ -197,7 +197,6 @@ namespace TShockAPI.DB
{
if (ply == null)
return false;
Console.WriteLine(ply.Group.Name);
return AllowedGroups.Contains(ply.Group.Name); // could add in the other permissions in this class instead of a giant if switch.
}

View file

@ -399,8 +399,7 @@ namespace TShockAPI
AuthToken = Convert.ToInt32(tr.ReadLine());
}
Console.ForegroundColor = ConsoleColor.Yellow;
Console.WriteLine(
"TShock Notice: authcode.txt is still present, and the AuthToken located in that file will be used.");
Console.WriteLine("TShock Notice: authcode.txt is still present, and the AuthToken located in that file will be used.");
Console.WriteLine("To become superadmin, join the game and type /auth " + AuthToken);
Console.WriteLine("This token will display until disabled by verification. (/auth-verify)");
Console.ForegroundColor = ConsoleColor.Gray;