aboutsummaryrefslogtreecommitdiff
path: root/internal/game/core_login_char.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/core_login_char.go')
-rw-r--r--internal/game/core_login_char.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/core_login_char.go b/internal/game/core_login_char.go
index 8388bfb..c21ea87 100644
--- a/internal/game/core_login_char.go
+++ b/internal/game/core_login_char.go
@@ -261,7 +261,7 @@ func (g *Game) handleDeleteChar(sess *net.Session, input string) {
input = strings.TrimSpace(input)
expected := "DELETE " + sess.PendingChar
- if strings.ToUpper(input) != strings.ToUpper(expected) {
+ if !strings.EqualFold(input, expected) {
sess.WriteLine("Delete cancelled.")
sess.PendingChar = ""
g.showMenu(sess)