1 -- Prosody IM |
|
2 -- Copyright (C) 2008-2009 Matthew Wild |
|
3 -- Copyright (C) 2008-2009 Waqas Hussain |
|
4 -- |
1 -- |
5 -- This project is MIT/X11 licensed. Please see the |
2 -- server.lua by blastbeat of the luadch project |
6 -- COPYING file in the source package for more information. |
3 -- Re-used here under the MIT/X Consortium License |
|
4 -- |
|
5 -- Modifications (C) 2008-2009 Matthew Wild, Waqas Hussain |
7 -- |
6 -- |
8 |
|
9 --[[ |
|
10 |
|
11 server.lua by blastbeat |
|
12 |
|
13 - this script contains the server loop of the program |
|
14 - other scripts can reg a server here |
|
15 |
|
16 ]]-- |
|
17 |
7 |
18 -- // wrapping luadch stuff // -- |
8 -- // wrapping luadch stuff // -- |
19 |
9 |
20 local use = function( what ) |
10 local use = function( what ) |
21 return _G[ what ] |
11 return _G[ what ] |