mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
remove useless local function
This commit is contained in:
@@ -16,14 +16,6 @@ local chan_meta = {
|
|||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
||||||
local function default_conf(conf)
|
|
||||||
conf = conf or {}
|
|
||||||
conf.pack = conf.pack or skynet.pack
|
|
||||||
conf.unpack = conf.unpack or skynet.unpack
|
|
||||||
|
|
||||||
return conf
|
|
||||||
end
|
|
||||||
|
|
||||||
function multicast.new(conf)
|
function multicast.new(conf)
|
||||||
assert(multicastd, "Init first")
|
assert(multicastd, "Init first")
|
||||||
local self = {}
|
local self = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user