diff --git a/blastmud_game/src/message_handler/user_commands.rs b/blastmud_game/src/message_handler/user_commands.rs index f1a45fcb..e17f1c4f 100644 --- a/blastmud_game/src/message_handler/user_commands.rs +++ b/blastmud_game/src/message_handler/user_commands.rs @@ -44,7 +44,6 @@ mod ignore; pub mod improvise; mod install; mod inventory; -mod less_explicit_mode; mod list; pub mod load; mod login; @@ -131,7 +130,6 @@ static ALWAYS_AVAILABLE_COMMANDS: UserVerbRegistry = phf_map! { static UNREGISTERED_COMMANDS: UserVerbRegistry = phf_map! { "agree" => agree::VERB, "connect" => login::VERB, - "less_explicit_mode" => less_explicit_mode::VERB, "login" => login::VERB, "register" => register::VERB, }; @@ -552,6 +550,6 @@ mod test { session_dat: &mut session_dat, user_dat: &mut user_dat, }; - assert_eq!(resolve_handler(&ctx, "less_explicit_mode").is_some(), true); + assert_eq!(resolve_handler(&ctx, "agree").is_some(), true); } } diff --git a/blastmud_game/src/message_handler/user_commands/less_explicit_mode.rs b/blastmud_game/src/message_handler/user_commands/less_explicit_mode.rs deleted file mode 100644 index 46976156..00000000 --- a/blastmud_game/src/message_handler/user_commands/less_explicit_mode.rs +++ /dev/null @@ -1,17 +0,0 @@ -use super::{UResult, UserVerb, UserVerbRef, VerbContext}; -use async_trait::async_trait; - -pub struct Verb; -#[async_trait] -impl UserVerb for Verb { - async fn handle( - self: &Self, - _ctx: &mut VerbContext, - _verb: &str, - _remaining: &str, - ) -> UResult<()> { - Ok(()) - } -} -static VERB_INT: Verb = Verb; -pub static VERB: UserVerbRef = &VERB_INT as UserVerbRef;