aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/session.lua11
1 files changed, 11 insertions, 0 deletions
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;
+}