diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-11-22 03:14:32 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-11-22 03:14:32 +0000 |
commit | d1205508582c22acda941e3853dc8ef049341f92 (patch) | |
tree | 5ce46057b83ae5e65dbacf0ddb498ef02b024050 /net/server_event.lua | |
parent | 3637339b38f22bdb048e72f22241bd2baafe7e4c (diff) | |
download | prosody-d1205508582c22acda941e3853dc8ef049341f92.tar.gz prosody-d1205508582c22acda941e3853dc8ef049341f92.zip |
net.server_event: Define vdebug function for convenience
Diffstat (limited to 'net/server_event.lua')
-rw-r--r-- | net/server_event.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/server_event.lua b/net/server_event.lua index 99c3c83b..453a1f28 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -52,6 +52,7 @@ local log = require ("util.logger").init("socket") local function debug(...)
return log("debug", ("%s "):rep(select('#', ...)), ...)
end
+local vdebug = debug;
local bitor = ( function( ) -- thx Rici Lake
local hasbit = function( x, p )
|