mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
bugfix
This commit is contained in:
@@ -27,7 +27,7 @@ local function globalname(name, handle)
|
|||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
assert(#name <= 16) -- GLOBALNAME_LENGTH is 16, defined in skynet_harbor.h
|
assert(#name < 16) -- GLOBALNAME_LENGTH is 16, defined in skynet_harbor.h
|
||||||
assert(tonumber(name) == nil) -- global name can't be number
|
assert(tonumber(name) == nil) -- global name can't be number
|
||||||
|
|
||||||
local harbor = require "skynet.harbor"
|
local harbor = require "skynet.harbor"
|
||||||
|
|||||||
Reference in New Issue
Block a user