This reverts commit 09d0a36e03. Using strncmp with the length of the user input turns it into a prefix match rather than an exact match as it's supposed to be.
09d0a36e03