diff options
author | Kim Alvefur <zash@zash.se> | 2015-11-24 19:00:43 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-11-24 19:00:43 +0100 |
commit | cf7c286cfbc879121126248d21bef70dfec2e5bc (patch) | |
tree | adfa271def63e3c585942475f11acec2f6453b18 /util | |
parent | 89bc6c6ad740c0c309fd9679eca8c4c8006177d8 (diff) | |
download | prosody-cf7c286cfbc879121126248d21bef70dfec2e5bc.tar.gz prosody-cf7c286cfbc879121126248d21bef70dfec2e5bc.zip |
util.session: What is a session?
Diffstat (limited to 'util')
-rw-r--r-- | util/session.lua | 11 |
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; +} |