From ffd6d8e52509420d93cd6233285e8dbe1ac2b8e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Vis=C3=A9e?= Date: Sun, 1 Nov 2015 21:46:13 +0100 Subject: [PATCH] Fixed invalid command references --- src/main/java/fr/xephi/authme/command/CommandManager.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/java/fr/xephi/authme/command/CommandManager.java b/src/main/java/fr/xephi/authme/command/CommandManager.java index df5fc41e6..ea84e4f00 100644 --- a/src/main/java/fr/xephi/authme/command/CommandManager.java +++ b/src/main/java/fr/xephi/authme/command/CommandManager.java @@ -2,7 +2,9 @@ package fr.xephi.authme.command; import fr.xephi.authme.command.executable.*; import fr.xephi.authme.command.executable.authme.*; +import fr.xephi.authme.command.executable.captcha.CaptchaCommand; import fr.xephi.authme.command.executable.changepassword.ChangePasswordCommand; +import fr.xephi.authme.command.executable.converter.ConverterCommand; import fr.xephi.authme.command.executable.email.AddEmailCommand; import fr.xephi.authme.command.executable.email.ChangeEmailCommand; import fr.xephi.authme.command.executable.email.RecoverEmailCommand; @@ -418,7 +420,7 @@ public class CommandManager { // Register the base unregister command CommandDescription unregisterBaseCommand = new CommandDescription( - new RegisterCommand(), + new UnregisterCommand(), new ArrayList() {{ add("unregister"); add("unreg"); @@ -548,7 +550,7 @@ public class CommandManager { // Register the base captcha command CommandDescription captchaBaseCommand = new CommandDescription( - new ChangePasswordCommand(), + new CaptchaCommand(), new ArrayList() {{ add("captcha"); add("capt"); @@ -577,7 +579,7 @@ public class CommandManager { // Register the base converter command CommandDescription converterBaseCommand = new CommandDescription( - new ChangePasswordCommand(), + new ConverterCommand(), new ArrayList() {{ add("convert"); add("converter");