As is in Penn (I think), we'll use two underscores to denote a hidden server attribute. Finished up moving the two hidden attributes that I know need to be hidden and read-only over to the double underscore names as per Issue 27.

This commit is contained in:
Greg Taylor 2008-06-14 04:24:53 +00:00
parent 131f6410d4
commit 82f35f3b84
3 changed files with 8 additions and 7 deletions

View file

@ -70,7 +70,7 @@ class SessionProtocol(StatefulTelnetProtocol):
"""
Parse JSON dict of a user's channel list from their CHANLIST attribute.
"""
chan_list = self.get_pobject().get_attribute_value("CHANLIST")
chan_list = self.get_pobject().get_attribute_value("__CHANLIST")
if chan_list:
self.channels_subscribed = simplejson.loads(chan_list)