瀏覽代碼

fix: $info[OUTPUT][LINE]

dzp 1 年之前
父節點
當前提交
02f70a5e2e
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/parse.c

+ 3 - 0
src/parse.c

@@ -1187,6 +1187,8 @@ void check_one_line_multi(struct session *ses, char *original, char *stripped)
 		return;
 	}
 
+	gtd->mud_output_line = original;
+
 	buf = str_alloc_stack(0);
 
 	if (!HAS_BIT(ses->list[LIST_ACTION]->flags, LIST_FLAG_IGNORE))
@@ -1221,6 +1223,7 @@ void check_one_line(struct session *ses, char *line)
 	strip = str_alloc_stack(0);
 	buf   = str_alloc_stack(0);
 
+	gtd->mud_output_line = line;
 	strip_vt102_codes(line, strip);
 
 	if (!HAS_BIT(ses->list[LIST_ACTION]->flags, LIST_FLAG_IGNORE))