aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2017-02-06 00:41:41 -0800
committerRyan Huber <rhuber@gmail.com>2017-02-06 00:41:41 -0800
commitccfc3ef979359def5a4d463ad4f5c8f0cea7e302 (patch)
tree99da6ca476b12d64d98d18608704529fe4c40edf /wee_slack.py
parent573939bd73fb65cd2ca7c8392b7917037e7cb29e (diff)
downloadwee-slack-ccfc3ef979359def5a4d463ad4f5c8f0cea7e302.tar.gz
server buffer merge fix
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index a320a2b..f41a051 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -794,7 +794,7 @@ class SlackTeam(object):
self.channel_buffer = w.buffer_new("{}".format(self.domain), "buffer_input_callback", "EVENTROUTER", "", "")
self.eventrouter.weechat_controller.register_buffer(self.channel_buffer, self)
w.buffer_set(self.channel_buffer, "localvar_set_type", 'server')
- if w.config_string(w.config_get('irc.look.channel_buffer')) == 'merge_with_core':
+ if w.config_string(w.config_get('irc.look.server_buffer')) == 'merge_with_core':
w.buffer_merge(self.channel_buffer, w.buffer_search_main())
w.buffer_set(self.channel_buffer, "nicklist", "1")
def formatted_name(self, **kwargs):