[core] Fix protected attributes in platformapi.py
This commit is contained in:
parent
fa3d8deb95
commit
33f3a02985
|
@ -126,8 +126,8 @@ class Censor:
|
|||
"""
|
||||
if not await self.__is_appropriate(message):
|
||||
return False
|
||||
for censor in self.hood_censors:
|
||||
await censor.inbox.put(message)
|
||||
for censor in self.__hood_censors:
|
||||
await censor._inbox.put(message)
|
||||
return True
|
||||
|
||||
async def receive(self):
|
||||
|
|
Loading…
Reference in a new issue