From cf7c286cfbc879121126248d21bef70dfec2e5bc Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 24 Nov 2015 19:00:43 +0100 Subject: util.session: What is a session? --- util/session.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 util/session.lua (limited to 'util') diff --git a/util/session.lua b/util/session.lua new file mode 100644 index 00000000..735b6165 --- /dev/null +++ b/util/session.lua @@ -0,0 +1,11 @@ + +local function new_session(typ) + local session = { + type = typ .. "_unauthed"; + }; + return session; +end + +return { + new = new_session; +} -- cgit v1.2.3