mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 16:26:30 +01:00
Added missing import for subscriptionhandler.remove()
This commit is contained in:
parent
2d02c06a11
commit
d4ee0e487a
1 changed files with 3 additions and 0 deletions
|
|
@ -511,6 +511,9 @@ class SubscriptionHandler(object):
|
|||
entities to un-subscribe from the channel.
|
||||
|
||||
"""
|
||||
global _CHANNELHANDLER
|
||||
if not _CHANNELHANDLER:
|
||||
from evennia.comms.channelhandler import CHANNEL_HANDLER as _CHANNELHANDLER
|
||||
for subscriber in make_iter(entity):
|
||||
if subscriber:
|
||||
clsname = subscriber.__dbclass__.__name__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue