diff options
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wee_slack.py b/wee_slack.py index c53bab8..d372991 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -550,8 +550,8 @@ class Channel(object): return " ".join(message) def set_topic(self, topic): - topic = topic.encode('utf-8') - w.buffer_set(self.channel_buffer, "title", topic) + self.topic = topic.encode('utf-8') + w.buffer_set(self.channel_buffer, "title", self.topic) def open(self, update_remote=True): self.create_buffer() |