mirror of
https://github.com/evennia/evennia.git
synced 2026-03-27 10:16:32 +01:00
Fix a really obscure bug with adding default channels. Had a string substitution that didn't match up and wasn't throwing an exception (for some weird reason).
Also add CommChannelMembershipAdmin.
This commit is contained in:
parent
d29c6340fc
commit
ddfd479ba9
4 changed files with 25 additions and 10 deletions
|
|
@ -366,8 +366,12 @@ class ObjectManager(models.Manager):
|
|||
|
||||
# Activate the player's session and set them loose.
|
||||
command.session.login(user)
|
||||
print 'Registration: %s' % (command.session, user_object.get_name())
|
||||
|
||||
logger.log_infomsg('Registration: %s' % user_object.get_name())
|
||||
user_object.emit_to("Welcome to %s, %s.\n\r" % (
|
||||
ConfigValue.objects.get_configvalue('site_name'),
|
||||
user_object.get_name(show_dbref=False)))
|
||||
|
||||
# Add the user to all of the CommChannel objects that are flagged
|
||||
# is_joined_by_default.
|
||||
command.session.add_default_channels()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue