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.
|
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):
|
for subscriber in make_iter(entity):
|
||||||
if subscriber:
|
if subscriber:
|
||||||
clsname = subscriber.__dbclass__.__name__
|
clsname = subscriber.__dbclass__.__name__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue