From 38a14246411f709ee64f2ca2791deb627b474041 Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Tue, 20 Jan 2015 00:38:44 -0800 Subject: Fix errors when colorize nicks is off Plugin wouldn't connect because user.color_name was undefined --- wee_slack.py | 1 + 1 file changed, 1 insertion(+) (limited to 'wee_slack.py') 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: -- cgit