aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorJohn Hawthorn <john.hawthorn@gmail.com>2015-01-20 00:38:44 -0800
committerJohn Hawthorn <john.hawthorn@gmail.com>2015-01-20 00:38:44 -0800
commit38a14246411f709ee64f2ca2791deb627b474041 (patch)
treeb4132b026c61e03ad74fec65bd47c6f91f71ce2a /wee_slack.py
parent38069a045e488feef6e2dd60598a7cc02619b86a (diff)
downloadwee-slack-38a14246411f709ee64f2ca2791deb627b474041.tar.gz
Fix errors when colorize nicks is off
Plugin wouldn't connect because user.color_name was undefined
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 8894fd4..28a3aeb 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -639,6 +639,7 @@ class User(SlackThing):
self.color_name = w.info_get('irc_nick_color_name', self.name)
else:
self.color = ""
+ self.color_name = ""
def formatted_name(self, prepend="", force_color=None):
if colorize_nicks: