mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-23 22:04:49 +08:00
module id is zero
This commit is contained in:
@@ -113,7 +113,7 @@ func (slf *BaseModule) genModuleId() uint32 {
|
|||||||
moduleId := slf.CurrMaxModuleId
|
moduleId := slf.CurrMaxModuleId
|
||||||
|
|
||||||
if moduleId == 0 {
|
if moduleId == 0 {
|
||||||
GetLogger().Printf(LEVER_ERROR, "%T Cannot AddModule %T is zero", slf.GetSelf(), module.GetSelf())
|
GetLogger().Printf(LEVER_ERROR, "%T Cannot AddModule is zero", slf.GetSelf())
|
||||||
}
|
}
|
||||||
return moduleId
|
return moduleId
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user