mirror of
https://github.com/evennia/evennia.git
synced 2026-04-02 22:17:17 +02:00
Remove leftover piece of code from another fix
This commit is contained in:
parent
34021ad388
commit
f12897a072
1 changed files with 0 additions and 7 deletions
|
|
@ -854,13 +854,6 @@ class DefaultAccount(AccountDB, metaclass=TypeclassBase):
|
|||
if ip:
|
||||
account.db.creator_ip = ip
|
||||
|
||||
# join the new account to the public channels
|
||||
pchannel = ChannelDB.objects.get_channel(settings.DEFAULT_CHANNELS[0]["key"])
|
||||
if not pchannel or not pchannel.connect(account):
|
||||
string = "New account '{account.key}' could not connect to public channel!"
|
||||
errors.append(string)
|
||||
logger.log_err(string)
|
||||
|
||||
# join the new account to the public channels
|
||||
for chan_info in settings.DEFAULT_CHANNELS:
|
||||
if chankey := chan_info.get("key"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue