This commit is contained in:
Lixfel
2025-01-20 12:25:55 +01:00
parent 21b389a993
commit 721723716e
2 changed files with 2 additions and 9 deletions
@@ -23,8 +23,6 @@ import de.steamwar.command.SWCommand;
import de.steamwar.messages.Chatter;
import de.steamwar.sql.SteamwarUser;
import java.io.IOException;
public class WebpasswordCommand extends SWCommand {
public WebpasswordCommand() {
@@ -44,10 +42,6 @@ public class WebpasswordCommand extends SWCommand {
user.setPassword(password);
if (resetPW) {
sender.system("WEB_UPDATED");
} else {
sender.system("WEB_CREATED");
}
sender.system(resetPW ? "WEB_UPDATED" : "WEB_CREATED");
}
}