about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-10-09 12:28:23 +0200
committerEmile <hanemile@protonmail.com>2019-10-09 12:28:23 +0200
commit53d9f842bf381cd2f83ee69c7a463e6a04939961 (patch)
treec179cc004c7e9ddd3975548691c6f69572a42985 /src
parent043664ff80186b00f818c3542b42c797987b804f (diff)
minor edit
Diffstat (limited to 'src')
-rw-r--r--src/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http.go b/src/http.go
index 7bddad6..fb01aa2 100644
--- a/src/http.go
+++ b/src/http.go
@@ -68,7 +68,7 @@ func registerPostHandler(w http.ResponseWriter, r *http.Request) {
 	}
 
 	if !isValid(username) {
-		indexHander(w, r)
+		indexHandler(w, r)
 	}
 
 	// add the new username to the list of usernames