aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2015-03-20 06:47:14 -0700
committerRyan Huber <rhuber@gmail.com>2015-03-20 06:47:14 -0700
commit6506a1f2646e00854ed90f7d822ece9ffebc375e (patch)
treeab69ff301024d00e604d5614d26b8d21cdb3838b /wee_slack.py
parent518a753118c9317f5a315886883d1e0d92c2560c (diff)
downloadwee-slack-6506a1f2646e00854ed90f7d822ece9ffebc375e.tar.gz
fix bug w/ slack_debug
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 adacaac..3f04454 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -1561,7 +1561,6 @@ def config_changed_cb(data, option, value):
if channels_not_on_current_server_color == "0":
channels_not_on_current_server_color = False
colorize_nicks = w.config_get_plugin('colorize_nicks') == "1"
- slack_debug = None
debug_mode = w.config_get_plugin("debug_mode").lower()
if debug_mode != '' and debug_mode != 'false':
create_slack_debug_buffer()
@@ -1610,6 +1609,7 @@ if __name__ == "__main__":
legacy_mode = True
# Global var section
+ slack_debug = None
config_changed_cb("", "", "")
cmds = {k[8:]: v for k, v in globals().items() if k.startswith("command_")}