module id is zero

This commit is contained in:
boyce
2019-08-20 21:35:58 +08:00
parent b23cd6890e
commit 46f9286185

View File

@@ -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
}