diff --git a/contrib/lucli/src/java/lucli/Lucli.java b/contrib/lucli/src/java/lucli/Lucli.java index f1bff015f2c..0d88b0d1a49 100644 --- a/contrib/lucli/src/java/lucli/Lucli.java +++ b/contrib/lucli/src/java/lucli/Lucli.java @@ -283,7 +283,7 @@ public class Lucli { } private int getCommandId(String name, int params) { - name.toLowerCase(); //treat uppercase and lower case commands the same + name = name.toLowerCase(); //treat uppercase and lower case commands the same Command command = (Command) commandMap.get(name); if (command == null) { return(UNKOWN);