mirror of
https://github.com/evennia/evennia.git
synced 2026-03-31 13:07:16 +02:00
Fix a really obscure bug with adding default channels. Had a string substitution that didn't match up and wasn't throwing an exception (for some weird reason).
Also add CommChannelMembershipAdmin.
This commit is contained in:
parent
d29c6340fc
commit
ddfd479ba9
4 changed files with 25 additions and 10 deletions
|
|
@ -119,7 +119,8 @@ def plr_has_channel(session, cname, alias_search=False, return_muted=False):
|
|||
|
||||
def plr_set_channel_listening(session, alias, listening):
|
||||
"""
|
||||
Enables or disables listening on a particular channel.
|
||||
Enables or disables listening on a particular channel based on the
|
||||
user's channel alias.
|
||||
|
||||
session: (SessionProtocol) A reference to the player session.
|
||||
alias: (str) The channel alias.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue