From 7d3ecdd4ed165ec2fc86dbc5ffd0e4e2feba76f0 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/session.lua') 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