mirror of
https://github.com/evennia/evennia.git
synced 2026-03-31 04:57:16 +02:00
Run migrations! Changed "Comm" typeclass to be called "Channel" to match the ChannelDB it is a typeclass for. The migration updates all old channel defaults to the new path.
This commit is contained in:
parent
72bdc3b37f
commit
6e5de7847a
7 changed files with 170 additions and 12 deletions
|
|
@ -9,13 +9,13 @@ from src.utils import logger
|
|||
from src.utils.utils import make_iter
|
||||
|
||||
|
||||
class Comm(TypeClass):
|
||||
class Channel(TypeClass):
|
||||
"""
|
||||
This is the base class for all Comms. Inherit from this to create different
|
||||
types of communication channels.
|
||||
"""
|
||||
def __init__(self, dbobj):
|
||||
super(Comm, self).__init__(dbobj)
|
||||
super(Channel, self).__init__(dbobj)
|
||||
|
||||
def channel_prefix(self, msg=None, emit=False):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue