change references to db_subscriptions to reference handler correctly
This commit is contained in:
parent
98ab831437
commit
e1db190329
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue