Software / code / prosody
Comparison
net/server.lua @ 1544:c7f0938bc33e
net.server: Fix copyright header line endings and text
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sun, 12 Jul 2009 20:32:38 +0100 |
| parent | 1543:d2d80c1cad6c |
| child | 1546:7d7bf705675d |
comparison
equal
deleted
inserted
replaced
| 1543:d2d80c1cad6c | 1544:c7f0938bc33e |
|---|---|
| 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 ] |