From 26c50e8ab377e6eafe8416e3f44817ba284fb23d Mon Sep 17 00:00:00 2001 From: Condorra Date: Mon, 18 Nov 2024 21:18:19 +1100 Subject: [PATCH] Fix telopt table. --- src/lua_engine/muds/telopt.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)]