mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 08:16:30 +01:00
Quick fix for channel list retrival.
This commit is contained in:
parent
107bd6d71a
commit
c067154cd4
1 changed files with 2 additions and 1 deletions
|
|
@ -89,7 +89,8 @@ class PlayerSession(async_chat):
|
|||
Un-pickle a user's channel list from their CHANLIST attribute.
|
||||
"""
|
||||
chan_list = self.get_pobject().get_attribute_value("CHANLIST")
|
||||
self.channels_subscribed = pickle.loads(chan_list)
|
||||
if chan_list:
|
||||
self.channels_subscribed = pickle.loads(chan_list)
|
||||
|
||||
def collect_incoming_data(self, data):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue