mirror of
https://github.com/evennia/evennia.git
synced 2026-04-05 15:37:17 +02:00
Builders start seeing dbrefs for the most part.
This commit is contained in:
parent
8b89a4db2f
commit
462628ab55
4 changed files with 52 additions and 30 deletions
|
|
@ -184,9 +184,10 @@ def msg_cwho(session, channel_name):
|
|||
session: (SessionProtocol) A reference to the player session.
|
||||
channel_name: (str) The channel's full name.
|
||||
"""
|
||||
pobject = session.get_pobject()
|
||||
session.msg("--- Users Listening to %s ---" % (channel_name,))
|
||||
for plr_sess in get_cwho_list(channel_name):
|
||||
session.msg(plr_sess.get_pobject().get_name(show_dbref=False))
|
||||
session.msg(plr_sess.get_pobject().get_name(show_dbref=pobject.sees_dbrefs()))
|
||||
session.msg("--- End Channel Listeners ---")
|
||||
|
||||
def get_cwho_list(channel_name, return_muted=False):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue