Fixed security hole checking channels with @cwho

This commit is contained in:
Daniel Benoy 2013-06-02 06:53:57 -04:00
parent 4715499958
commit c10a02f713

View file

@ -449,6 +449,7 @@ class CmdCWho(MuxPlayerCommand):
if not channel.access(self.caller, "listen"):
string = "You can't access this channel."
self.msg(string)
return
string = "\n{CChannel subscriptions{n"
string += "\n{w%s:{n\n" % channel.key
conns = PlayerChannelConnection.objects.get_all_connections(channel)