commit f07a0af

Alexey Yerin  ·  2021-05-21 17:52:44 +0000 UTC
parent ab6c067
commands: do not handle s == ""

handleInput already checks for this.
1 files changed,  +0, -4
+0, -4
 1@@ -412,10 +412,6 @@ func fieldsN(s string, n int) []string {
 2 }
 3 
 4 func parseCommand(s string) (command, args string, isCommand bool) {
 5-	if s == "" {
 6-		return "", "", false
 7-	}
 8-
 9 	if s[0] != '/' {
10 		return "", s, false
11 	}