mirror of
https://github.com/evennia/evennia.git
synced 2026-03-30 12:37:16 +02:00
Continuing implementing new channel command
This commit is contained in:
parent
5f7d695360
commit
33b29a6050
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
|
||||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue