Continuing implementing new channel command

This commit is contained in:
Griatch 2021-04-14 22:44:11 +02:00
parent 5f7d695360
commit 33b29a6050
2 changed files with 641 additions and 344 deletions

File diff suppressed because it is too large Load diff

View file

@ -248,7 +248,7 @@ class DefaultChannel(ChannelDB, metaclass=TypeclassBase):
"""
# check access
if not self.access(subscriber, "listen"):
if subscriber in self.banlist or not self.access(subscriber, "listen"):
return False
# pre-join hook
connect = self.pre_join_channel(subscriber)