diff --git a/evennia/comms/comms.py b/evennia/comms/comms.py index dd6090b37..fd51c03d7 100644 --- a/evennia/comms/comms.py +++ b/evennia/comms/comms.py @@ -2,8 +2,6 @@ Base typeclass for in-game Channels. """ -from django.conf import settings - from evennia.typeclasses.models import TypeclassBase from evennia.comms.models import TempMsg, ChannelDB from evennia.comms.managers import ChannelManager @@ -240,7 +238,6 @@ class DefaultChannel(with_metaclass(TypeclassBase, ChannelDB)): Args: msgobj (Msg or TempMsg): Message to distribute. online (bool): Only send to receivers who are actually online - (not currently used): Notes: This is also where logging happens, if enabled. @@ -267,7 +264,7 @@ class DefaultChannel(with_metaclass(TypeclassBase, ChannelDB)): logger.log_file(msgobj.message, self.attributes.get("log_file") or "channel_%s.log" % self.key) def msg(self, msgobj, header=None, senders=None, sender_strings=None, - keep_log=None, online=settings.CHANNELS_MSG_OFFLINE, emit=False, external=False): + keep_log=None, online=False, emit=False, external=False): """ Send the given message to all players connected to channel. Note that no permission-checking is done here; it is assumed to have been diff --git a/evennia/settings_default.py b/evennia/settings_default.py index 24b68aa8a..c5844205c 100644 --- a/evennia/settings_default.py +++ b/evennia/settings_default.py @@ -125,8 +125,6 @@ LOCKWARNING_LOG_FILE = os.path.join(LOG_DIR, 'lockwarnings.log') # file sizes down. Turn off to get ever growing log files and never # loose log info. CYCLE_LOGFILES = True -# whether channels attempt to message offline players by default -CHANNELS_MSG_OFFLINE = False # Local time zone for this installation. All choices can be found here: # http://www.postgresql.org/docs/8.0/interactive/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE TIME_ZONE = 'UTC'