fix the locate command function
This commit is contained in:
parent
95d661ada2
commit
4847fdf96a
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ namespace Bot.CommandSystem
|
||||||
CommandGroup CG = Command[ix];
|
CommandGroup CG = Command[ix];
|
||||||
CG.AssignedMethod = MI;
|
CG.AssignedMethod = MI;
|
||||||
|
|
||||||
if (Cmds.ContainsKey(CG.Command) == false)
|
if (Cmds.ContainsKey(CG.Command.ToLower()) == false)
|
||||||
{
|
{
|
||||||
Log.info(true, "DISCOVER: " + CG.Command);
|
Log.info(true, "DISCOVER: " + CG.Command);
|
||||||
Cmds.Add(CG.Command.ToLower(), CG);
|
Cmds.Add(CG.Command.ToLower(), CG);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue