From d4b51792897d7f5244eb10c2984003a72c89e195 Mon Sep 17 00:00:00 2001 From: piaip Date: Fri, 18 Jan 2008 17:54:07 +0000 Subject: - bbslua: require LatestRef/Title match for latest referring - bbslua: add storage and hash system git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3843 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/edit.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'mbbsd/edit.c') diff --git a/mbbsd/edit.c b/mbbsd/edit.c index 60c719fc..6614d67a 100644 --- a/mbbsd/edit.c +++ b/mbbsd/edit.c @@ -2084,23 +2084,27 @@ static const char *luaBbs[] = { }; static const char *luaToc[] = { - "interface", "title", "notes", "author", "version", - "date", "latestref", + "author", "date", "interface", "latestref", + "notes", "title", "version", NULL }; static const char *luaBit[] = { - "cast", "bnot", "band", "bor", "bxor", - "lshift", "rshift", "arshift", + "arshift", "band", "bnot", "bor", "bxor", "cast", "lshift", "rshift", + NULL +}; + +static const char *luaStore[] = { + "USER", "GLOBAL", "limit", "load", "save", NULL }; static const char *luaLibs[] = { - "math", "table", "string", "bbs", "toc", "bit", + "bbs", "bit", "math", "store", "string", "table", "toc", NULL }; static const char**luaLibAPI[] = { - luaMath, luaTable, luaString, luaBbs, luaToc, luaBit, + luaBbs, luaBit, luaMath, luaStore, luaString, luaTable, luaToc, NULL }; -- cgit v1.2.3