aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wee_slack.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 8a01ff7..5e2dd6f 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -408,11 +408,15 @@ class Channel(object):
# w.buffer_set(self.channel_buffer, "highlight_words", self.server.nick)
else:
self.channel_buffer = None
+ channels.update_hashtable()
+ self.server.channels.update_hashtable()
def detach_buffer(self):
if self.channel_buffer is not None:
w.buffer_close(self.channel_buffer)
self.channel_buffer = None
+ channels.update_hashtable()
+ self.server.channels.update_hashtable()
def update_nicklist(self, user=None):
if self.channel_buffer: