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:
|
if ip:
|
||||||
account.db.creator_ip = 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
|
# join the new account to the public channels
|
||||||
for chan_info in settings.DEFAULT_CHANNELS:
|
for chan_info in settings.DEFAULT_CHANNELS:
|
||||||
if chankey := chan_info.get("key"):
|
if chankey := chan_info.get("key"):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue