mirror of
https://github.com/onyx-and-iris/q3rcon.git
synced 2024-12-04 22:20:47 +00:00
use EqualFold
This commit is contained in:
parent
313d96fffa
commit
51ff562ac4
@ -92,7 +92,7 @@ func interactiveMode(rcon *q3rcon.Rcon, input io.Reader) error {
|
||||
scanner := bufio.NewScanner(input)
|
||||
for scanner.Scan() {
|
||||
cmd := scanner.Text()
|
||||
if strings.ToUpper(cmd) == "Q" {
|
||||
if strings.EqualFold(cmd, "Q") {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user