diff --git a/src/lua_engine/muds/telopt.rs b/src/lua_engine/muds/telopt.rs index bf70dff..4de9fd1 100644 --- a/src/lua_engine/muds/telopt.rs +++ b/src/lua_engine/muds/telopt.rs @@ -524,11 +524,11 @@ pub fn configure_telopt_table<'gc>(ctx: Context<'gc>, table: &Table<'gc>) { .set(ctx, "naws", NAWS_TELOPT.0) .expect("Can't set NAWS in telopt table"); table - .set(ctx, "naws", NAWS_TELOPT.0) - .expect("Can't set NAWS in telopt table"); + .set(ctx, "gmcp", GMCP_TELOPT.0) + .expect("Can't set GMCP in telopt table"); table .set(ctx, "termtype", TERMTYPE_TELOPT.0) - .expect("Can't set GMCP in telopt table"); + .expect("Can't set TERMTYPE in telopt table"); } #[cfg(test)]