aboutsummaryrefslogtreecommitdiff
path: root/internal/game/core_login_account.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-09-16 15:00:46 -0400
committerhistoria <[not public]>2026-09-16 15:00:46 -0400
commita6cf03a6ae98e4fb675da25046d148e92bcf7206 (patch)
tree194499fe9e696be8c31cd915b7ad92678f9f95e0 /internal/game/core_login_account.go
parent9192d94dea6be5498ab080f3e2df5667af871d7a (diff)
downloadthehouseoficarus-a6cf03a6ae98e4fb675da25046d148e92bcf7206.tar.gz
chore: staticcheck and gofmt cleanups
Diffstat (limited to 'internal/game/core_login_account.go')
-rw-r--r--internal/game/core_login_account.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/core_login_account.go b/internal/game/core_login_account.go
index 1acd1a6..4c05373 100644
--- a/internal/game/core_login_account.go
+++ b/internal/game/core_login_account.go
@@ -379,7 +379,7 @@ func (g *Game) handleRenameAccount(sess *net.Session, input string) {
func (g *Game) handlePurgeAccount(sess *net.Session, input string) {
input = strings.TrimSpace(input)
expected := "PURGE " + sess.Account.Name
- if strings.ToUpper(input) != strings.ToUpper(expected) {
+ if !strings.EqualFold(input, expected) {
sess.WriteLine("Purge cancelled.")
g.showMenu(sess)
return