Fixed security hole checking channels with @cwho
This commit is contained in:
parent
4715499958
commit
c10a02f713
1 changed files with 1 additions and 0 deletions
|
|
@ -449,6 +449,7 @@ class CmdCWho(MuxPlayerCommand):
|
||||||
if not channel.access(self.caller, "listen"):
|
if not channel.access(self.caller, "listen"):
|
||||||
string = "You can't access this channel."
|
string = "You can't access this channel."
|
||||||
self.msg(string)
|
self.msg(string)
|
||||||
|
return
|
||||||
string = "\n{CChannel subscriptions{n"
|
string = "\n{CChannel subscriptions{n"
|
||||||
string += "\n{w%s:{n\n" % channel.key
|
string += "\n{w%s:{n\n" % channel.key
|
||||||
conns = PlayerChannelConnection.objects.get_all_connections(channel)
|
conns = PlayerChannelConnection.objects.get_all_connections(channel)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue