summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbslua.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/bbslua.c')
-rw-r--r--mbbsd/bbslua.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/bbslua.c b/mbbsd/bbslua.c
index 43346a19..2a1096fb 100644
--- a/mbbsd/bbslua.c
+++ b/mbbsd/bbslua.c
@@ -175,7 +175,7 @@ bl_getdata(lua_State* L)
if (n > 0)
len = lua_tointeger(L, 1);
- if (n > 2)
+ if (n > 1)
echo = lua_tointeger(L, 2);
if (len < 2)
@@ -449,7 +449,7 @@ bbslua(const char *fpath)
move(b_lines-3, 0); clrtobot();
outs("\n");
outs(errmsg);
- vmsg("BBS-Lua 錯誤: 請修正程式碼。");
+ vmsg("BBS-Lua 錯誤: 請通知作者修正程式碼。");
lua_close(L);
return 0;
}