This reverts commit a69a065b02. 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.
a69a065b02