Merge branch 'master' into develop

This commit is contained in:
Griatch 2017-11-11 01:02:26 +01:00
commit 4507c7aa2d
11 changed files with 461 additions and 29 deletions

View file

@ -417,7 +417,7 @@ class CmdCBoot(COMMAND_DEFAULT_CLASS):
string = "You don't control this channel."
self.msg(string)
return
if account not in channel.db_subscriptions.all():
if not channel.subscriptions.has(account):
string = "Account %s is not connected to channel %s." % (account.key, channel.key)
self.msg(string)
return