Added missing import for subscriptionhandler.remove()

This commit is contained in:
Tehom 2016-10-17 22:42:33 -04:00 committed by Griatch
parent 2d02c06a11
commit d4ee0e487a

View file

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