Continuing implementing new channel command
This commit is contained in:
parent
2776aa2e20
commit
6d973f3617
2 changed files with 641 additions and 344 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -248,7 +248,7 @@ class DefaultChannel(ChannelDB, metaclass=TypeclassBase):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
# check access
|
# check access
|
||||||
if not self.access(subscriber, "listen"):
|
if subscriber in self.banlist or not self.access(subscriber, "listen"):
|
||||||
return False
|
return False
|
||||||
# pre-join hook
|
# pre-join hook
|
||||||
connect = self.pre_join_channel(subscriber)
|
connect = self.pre_join_channel(subscriber)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue