From ec435e266e99e63068db97227fe9666140438b3d Mon Sep 17 00:00:00 2001 From: Lucas Nicodemus Date: Mon, 25 Sep 2017 12:18:41 -0600 Subject: [PATCH] Make our string based error handling more explicit (Please, someone, please, get rid of this). --- TShockAPI/DB/GroupManager.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/TShockAPI/DB/GroupManager.cs b/TShockAPI/DB/GroupManager.cs index 78596083..6a7d8c4d 100644 --- a/TShockAPI/DB/GroupManager.cs +++ b/TShockAPI/DB/GroupManager.cs @@ -225,7 +225,7 @@ namespace TShockAPI.DB /// /// The group's name. /// The new name. - /// The response. + /// The result from the operation to be sent back to the user. public String RenameGroup(string name, string newName) { if (!GroupExists(name)) @@ -325,7 +325,7 @@ namespace TShockAPI.DB /// /// The group's name. /// Whether exceptions will be thrown in case something goes wrong. - /// The response. + /// The result from the operation to be sent back to the user. public String DeleteGroup(String name, bool exceptions = false) { if (!GroupExists(name)) @@ -351,7 +351,7 @@ namespace TShockAPI.DB /// /// The group name. /// The permission list. - /// The response. + /// The result from the operation to be sent back to the user. public String AddPermissions(String name, List permissions) { if (!GroupExists(name)) @@ -374,7 +374,7 @@ namespace TShockAPI.DB /// /// The group name. /// The permission list. - /// The response. + /// The result from the operation to be sent back to the user. public String DeletePermissions(String name, List permissions) { if (!GroupExists(name))