mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-04 06:54:45 +08:00
module id is zero
This commit is contained in:
@@ -113,7 +113,7 @@ func (slf *BaseModule) genModuleId() uint32 {
|
||||
moduleId := slf.CurrMaxModuleId
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user