Comparison

net/server_event.lua @ 6855:40236602ab5b

server_event: Comment out the unused vdebug function [luacheck]
author Kim Alvefur <zash@zash.se>
date Fri, 25 Sep 2015 17:26:29 +0200
parent 6854:d05bbf0bd620
child 6856:489f4ae291bf
comparison
equal deleted inserted replaced
6854:d05bbf0bd620 6855:40236602ab5b
56 local log = require ("util.logger").init("socket") 56 local log = require ("util.logger").init("socket")
57 57
58 local function debug(...) 58 local function debug(...)
59 return log("debug", ("%s "):rep(select('#', ...)), ...) 59 return log("debug", ("%s "):rep(select('#', ...)), ...)
60 end 60 end
61 local vdebug = debug; 61 -- local vdebug = debug;
62 62
63 local bitor = ( function( ) -- thx Rici Lake 63 local bitor = ( function( ) -- thx Rici Lake
64 local hasbit = function( x, p ) 64 local hasbit = function( x, p )
65 return x % ( p + p ) >= p 65 return x % ( p + p ) >= p
66 end 66 end