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 | 7d3ecdd4ed165ec2fc86dbc5ffd0e4e2feba76f0 (patch) | |
tree | adfa271def63e3c585942475f11acec2f6453b18 /util | |
parent | 4151b38f1c70863760f0716324598a219659b6d9 (diff) | |
download | prosody-7d3ecdd4ed165ec2fc86dbc5ffd0e4e2feba76f0.tar.gz prosody-7d3ecdd4ed165ec2fc86dbc5ffd0e4e2feba76f0.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; +} |